Java org.bouncycastle.jce X509Principal fields, constructors, methods, implement or subclass

Example usage for Java org.bouncycastle.jce X509Principal fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.bouncycastle.jce X509Principal.

The text is from its open source code.

Constructor

X509Principal(byte[] bytes)
Constructor from an encoded byte array.
X509Principal(X509Name name)
Constructor from an X509Name object.
X509Principal(X500Name name)
Constructor from an X509Name object.
X509Principal(Hashtable attributes)
constructor from a table of attributes.
X509Principal(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.
X509Principal(Vector ordering, Hashtable attributes)
constructor from a table of attributes and a vector giving the specific ordering required for encoding or conversion to a string.
X509Principal(Vector oids, Vector values)
constructor from a vector of attribute values and a vector of OIDs.
X509Principal(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.

Method

booleanequals(Object obj)
test for equality - note: case is ignored.
byte[]getEncoded()
return a DER encoded byte array representing this object
StringgetName()
VectorgetOIDs()
return a vector of the oids in the name, in the order they were found.
VectorgetValues(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.
VectorgetValues()
return a vector of the values found in the name, in the order they were found.
ASN1PrimitivetoASN1Primitive()