|
Bouncy Castle Cryptography 1.46 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface X500NameStyle
It turns out that the number of standard ways the fields in a DN should be encoded into their ASN.1 counterparts is rapidly approaching the number of machines on the internet. By default the X500Name class will produce UTF8Strings in line with the current recommendations (RFC 3280).
Method Summary | |
---|---|
boolean |
areEqual(X500Name name1,
X500Name name2)
|
ASN1ObjectIdentifier |
attrNameToOID(java.lang.String attrName)
|
int |
calculateHashCode(X500Name name)
|
RDN[] |
fromString(java.lang.String dirName)
|
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)
|
Method Detail |
---|
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)
boolean areEqual(X500Name name1, X500Name name2)
RDN[] fromString(java.lang.String dirName)
int calculateHashCode(X500Name name)
java.lang.String toString(X500Name name)
|
Bouncy Castle Cryptography 1.46 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |