Example usage for Java org.bouncycastle.asn1.x500 X500Name fields, constructors, methods, implement or subclass
The text is from its open source code.
X500Name(ASN1Sequence seq) Constructor from ASN1Sequence the principal will be a list of constructed sets, each containing an (OID, String) pair. | |
X500Name(RDN[] rDNs) | |
X500Name(String dirName) | |
X500Name(X500NameStyle style, X500Name name) | |
X500Name(X500NameStyle style, ASN1Sequence seq) | |
X500Name(X500NameStyle style, RDN[] rDNs) | |
X500Name(X500NameStyle style, String dirName) |
boolean | equals(Object obj) test for equality - note: case is ignored. |
ASN1ObjectIdentifier[] | getAttributeTypes() return an array of OIDs contained in the attribute type of each RDN in structure order. |
X500NameStyle | getDefaultStyle() Return the current default style. |
byte[] | getEncoded() Return the default BER or DER encoding for this object. |
byte[] | getEncoded(String encoding) Return either the default for "BER" or a DER encoding if "DER" is specified. |
X500Name | getInstance(Object obj) |
X500Name | getInstance(ASN1TaggedObject obj, boolean explicit) Return a X500Name based on the passed in tagged object. |
X500Name | getInstance(X500NameStyle style, Object obj) |
RDN[] | getRDNs(ASN1ObjectIdentifier attributeType) return an array of RDNs containing the attribute type given by OID in structure order. |
RDN[] | getRDNs() return an array of RDNs in structure order. |
ASN1Primitive | toASN1Primitive() |
String | toString() |