Example usage for Java org.bouncycastle.asn1.x509 X509Name fields, constructors, methods, implement or subclass
The text is from its open source code.
ASN1ObjectIdentifier | C country code - StringType(SIZE(2)) |
ASN1ObjectIdentifier | O organization - StringType(SIZE(1..64)) |
ASN1ObjectIdentifier | OU organizational unit name - StringType(SIZE(1..64)) |
ASN1ObjectIdentifier | CN common name - StringType(SIZE(1..64)) |
ASN1ObjectIdentifier | SN device serial number name - StringType(SIZE(1..64)) |
ASN1ObjectIdentifier | L locality name - StringType(SIZE(1..64)) |
ASN1ObjectIdentifier | ST state, or province name - StringType(SIZE(1..64)) |
ASN1ObjectIdentifier | DN_QUALIFIER dnQualifier - DirectoryString(SIZE(1..64) |
ASN1ObjectIdentifier | DATE_OF_BIRTH RFC 3039 DateOfBirth - GeneralizedTime - YYYYMMDD000000Z |
ASN1ObjectIdentifier | EmailAddress Email address (RSA PKCS#9 extension) - IA5String. |
ASN1ObjectIdentifier | E email address in Verisign certificates |
ASN1ObjectIdentifier | DC |
ASN1ObjectIdentifier | UID LDAP User id. |
Hashtable | DefaultSymbols default look up table translating OID values into their common symbols following the convention in RFC 2253 with a few extras |
Hashtable | DefaultLookUp look up table translating common symbols into their OIDS. |
Hashtable | OIDLookUp look up table translating OID values into their common symbols |
X509Name(ASN1Sequence seq) Constructor from ASN1Sequence the principal will be a list of constructed sets, each containing an (OID, String) pair. | |
X509Name(Hashtable attributes) constructor from a table of attributes. | |
X509Name(String dirName) Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes. | |
X509Name(Vector ordering, Hashtable attributes) Constructor from a table of attributes with ordering. | |
X509Name(Vector oids, Vector values) Takes two vectors one of the oids and the other of the values. | |
X509Name(String dirName, X509NameEntryConverter converter) Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes with each string value being converted to its associated ASN.1 type using the passed in converter. | |
X509Name(boolean reverse, String dirName) Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes. | |
X509Name(Vector ordering, Hashtable attributes, X509NameEntryConverter converter) Constructor from a table of attributes with ordering. | |
X509Name(Vector oids, Vector values, X509NameEntryConverter converter) Takes two vectors one of the oids and the other of the values. | |
X509Name(boolean reverse, String dirName, X509NameEntryConverter converter) Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes with each string value being converted to its associated ASN.1 type using the passed in converter. | |
X509Name(boolean reverse, Hashtable lookUp, String dirName) Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes. |
boolean | equals(Object obj) test for equality - note: case is ignored. |
boolean | equals(Object obj, boolean inOrder) |
X509Name | getInstance(Object obj) |
X509Name | getInstance(ASN1TaggedObject obj, boolean explicit) Return a X509Name based on the passed in tagged object. |
Vector | getOIDs() return a vector of the oids in the name, in the order they were found. |
Vector | getValues() return a vector of the values found in the name, in the order they were found. |
Vector | getValues(ASN1ObjectIdentifier oid) return a vector of the values found in the name, in the order they were found, with the DN label corresponding to passed in oid. |
ASN1Primitive | toASN1Primitive() |
String | toString() |
String | toString(boolean reverse, Hashtable oidSymbols) convert the structure to a string - if reverse is true the oids and values are listed out starting with the last element in the sequence (ala RFC 2253), otherwise the string will begin with the first element of the structure. |