java.lang.Object | |||
↳ | org.bouncycastle.asn1.ASN1Encodable | ||
↳ | org.bouncycastle.asn1.x509.X509Name | ||
↳ | org.bouncycastle.jce.X509Principal |
a general extension of X509Name with a couple of extra methods and constructors.
Objects of this type can be created from certificates and CRLs using the PrincipalUtil class.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.x509.X509Name
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor from an encoded byte array.
| |||||||||||
Constructor from an X509Name object.
| |||||||||||
constructor from a table of attributes.
| |||||||||||
constructor from a table of attributes and a vector giving the
specific ordering required for encoding or conversion to a string.
| |||||||||||
constructor from a vector of attribute values and a vector of OIDs.
| |||||||||||
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.
| |||||||||||
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.
| |||||||||||
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.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
return a DER encoded byte array representing this object
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.x509.X509Name
| |||||||||||
From class
org.bouncycastle.asn1.ASN1Encodable
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.security.Principal
| |||||||||||
From interface
org.bouncycastle.asn1.DEREncodable
|
constructor from a table of attributes.
it's is assumed the table contains OID/String pairs.
constructor from a table of attributes and a vector giving the specific ordering required for encoding or conversion to a string.
it's is assumed the table contains OID/String pairs.
constructor from a vector of attribute values and a vector of OIDs.
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.
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. If reverse is false the dir name will be encoded in the order of the (name, value) pairs presented, otherwise the encoding will start with the last (name, value) pair and work back.
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. lookUp should provide a table of lookups, indexed by lowercase only strings and yielding a DERObjectIdentifier, other than that OID. and numeric oids will be processed automatically.
If reverse is true, create the encoded version of the sequence starting from the last element in the string.
return a DER encoded byte array representing this object