Bouncy Castle Cryptography Library 1.48

org.bouncycastle.asn1.x500.style
Class BCStrictStyle

java.lang.Object
  extended by org.bouncycastle.asn1.x500.style.BCStyle
      extended by org.bouncycastle.asn1.x500.style.BCStrictStyle
All Implemented Interfaces:
X500NameStyle

public class BCStrictStyle
extends BCStyle

Variation of BCStyle that insists on strict ordering for equality and hashCode comparisons


Field Summary
static X500NameStyle INSTANCE
           
 
Fields inherited from class org.bouncycastle.asn1.x500.style.BCStyle
BUSINESS_CATEGORY, C, CN, COUNTRY_OF_CITIZENSHIP, COUNTRY_OF_RESIDENCE, DATE_OF_BIRTH, DC, DMD_NAME, DN_QUALIFIER, E, EmailAddress, GENDER, GENERATION, GIVENNAME, INITIALS, L, NAME, NAME_AT_BIRTH, O, OU, PLACE_OF_BIRTH, POSTAL_ADDRESS, POSTAL_CODE, PSEUDONYM, SERIALNUMBER, SN, ST, STREET, SURNAME, T, TELEPHONE_NUMBER, UID, UNIQUE_IDENTIFIER, UnstructuredAddress, UnstructuredName
 
Constructor Summary
BCStrictStyle()
           
 
Method Summary
 boolean areEqual(X500Name name1, X500Name name2)
           
 
Methods inherited from class org.bouncycastle.asn1.x500.style.BCStyle
attrNameToOID, calculateHashCode, fromString, rdnAreEqual, stringToValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final X500NameStyle INSTANCE
Constructor Detail

BCStrictStyle

public BCStrictStyle()
Method Detail

areEqual

public boolean areEqual(X500Name name1,
                        X500Name name2)
Specified by:
areEqual in interface X500NameStyle
Overrides:
areEqual in class BCStyle

Bouncy Castle Cryptography Library 1.48