|
Oracle Security Developer Tools Security Engine Java API Reference 10g Release 2 (10.1.2.0.2) B15569-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cert.X500RDN
Represents an X.500 Relative Distinguished Name. This is the building block for X.500 names.
A Relative Distinguished Name consists of a set of attribute-value pairs. Typically, there is a single attribute-value pair in each Relative Distinguished Name.
for defined OIDs from the
id_at arc.Constructor Summary | |
X500RDN() Creates a new Relative Distinguished Name with no entries. |
|
X500RDN(ASN1ObjectID type, ASN1Object value) Creates a new Relative Distinguished Name with exactly one entry. |
|
X500RDN(java.io.InputStream is) Creates a new Relative Distinguished Name by reading its BER encoding from the given input stream. |
Method Summary | |
void |
addAttribute(ASN1ObjectID type, ASN1Object value) Adds and attribute to this RDN with the given type and value. |
boolean |
equals(java.lang.Object o) |
ASN1Object |
getValue(ASN1ObjectID type) |
int |
hashCode() |
void |
input(java.io.InputStream is) |
int |
length() |
void |
output(java.io.OutputStream os) |
java.lang.String |
toASCII() Returns this RDN representated as a sequence of printable ASCII characters. |
java.lang.String |
toString() Returns the string representation of this RDN. |
java.util.Enumeration |
types() |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public X500RDN()
public X500RDN(ASN1ObjectID type, ASN1Object value)
public X500RDN(java.io.InputStream is) throws java.io.IOException
Method Detail |
public void addAttribute(ASN1ObjectID type, ASN1Object value)
type
- The OID identifying the attribute's type.value
- An ASN1Object
value for the attribute.public java.util.Enumeration types()
public ASN1Object getValue(ASN1ObjectID type)
public int hashCode()
public boolean equals(java.lang.Object o)
public java.lang.String toString()
toASCII()
, except that non-ASCII Unicode characters (that is, € and higher) are not escaped.public java.lang.String toASCII()
public void input(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public int length()
|
Oracle Security Developer Tools Security Engine Java API Reference 10g Release 2 (10.1.2.0.2) B15569-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |