public interface X500NameStyle
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
areEqual(X500Name name1,
        X500Name name2)
Return true if the two names are equal. 
 | 
ASN1ObjectIdentifier | 
attrNameToOID(java.lang.String attrName)
Return the OID associated with the passed in name. 
 | 
int | 
calculateHashCode(X500Name name)
Calculate a hashCode for the passed in name. 
 | 
RDN[] | 
fromString(java.lang.String dirName)
Return an array of RDN generated from the passed in String. 
 | 
java.lang.String[] | 
oidToAttrNames(ASN1ObjectIdentifier oid)
Return the acceptable names in a String DN that map to OID. 
 | 
java.lang.String | 
oidToDisplayName(ASN1ObjectIdentifier oid)
Return the display name for toString() associated with the OID. 
 | 
ASN1Encodable | 
stringToValue(ASN1ObjectIdentifier oid,
             java.lang.String value)
Convert the passed in String value into the appropriate ASN.1
 encoded object. 
 | 
java.lang.String | 
toString(X500Name name)
Convert the passed in X500Name to a String. 
 | 
ASN1Encodable stringToValue(ASN1ObjectIdentifier oid, java.lang.String value)
oid - the OID associated with the value in the DN.value - the value of the particular DN component.ASN1ObjectIdentifier attrNameToOID(java.lang.String attrName)
attrName - the string to match.RDN[] fromString(java.lang.String dirName)
dirName - the String representation.boolean areEqual(X500Name name1, X500Name name2)
name1 - first name for comparison.name2 - second name for comparison.int calculateHashCode(X500Name name)
name - the name the hashCode is required for.java.lang.String toString(X500Name name)
name - the name to convert.java.lang.String oidToDisplayName(ASN1ObjectIdentifier oid)
oid - the OID of interest.java.lang.String[] oidToAttrNames(ASN1ObjectIdentifier oid)
oid - the OID of interest.