Skip navigation links
oracle.security.crypto.jce.cert
Class X500RDN
java.lang.Object
oracle.security.crypto.jce.cert.X500RDN
- All Implemented Interfaces:
- oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable
-
public class X500RDN
- extends java.lang.Object
- implements oracle.security.crypto.asn1.ASN1Object
Constructor Summary |
X500RDN(java.io.InputStream is)
Creates a new Relative Distinguished Name by reading its BER encoding from the given input stream. |
Method Summary |
boolean |
equals(java.lang.Object o)
|
oracle.security.crypto.asn1.ASN1Object |
getValue(oracle.security.crypto.asn1.ASN1ObjectID type)
|
int |
hashCode()
|
void |
input(java.io.InputStream is)
|
int |
length()
|
void |
output(java.io.OutputStream os)
|
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 |
id_at_commonName
public static final oracle.security.crypto.asn1.ASN1ObjectID id_at_commonName
id_at_localityName
public static final oracle.security.crypto.asn1.ASN1ObjectID id_at_localityName
id_at_stateOrProvinceName
public static final oracle.security.crypto.asn1.ASN1ObjectID id_at_stateOrProvinceName
id_at_organizationName
public static final oracle.security.crypto.asn1.ASN1ObjectID id_at_organizationName
id_at_organizationalUnitName
public static final oracle.security.crypto.asn1.ASN1ObjectID id_at_organizationalUnitName
id_at_countryName
public static final oracle.security.crypto.asn1.ASN1ObjectID id_at_countryName
emailAddress
public static final oracle.security.crypto.asn1.ASN1ObjectID emailAddress
X500RDN
public X500RDN(java.io.InputStream is)
throws java.io.IOException
- Creates a new Relative Distinguished Name by reading its BER encoding from the given input stream.
- Throws:
java.io.IOException
types
public java.util.Enumeration types()
getValue
public oracle.security.crypto.asn1.ASN1Object getValue(oracle.security.crypto.asn1.ASN1ObjectID type)
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
-
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Returns the string representation of this RDN. The format is the same as returned by
#toASCII
, except that non-ASCII Unicode characters (that is, ? and higher) are not escaped.
-
- Overrides:
toString
in class java.lang.Object
input
public void input(java.io.InputStream is)
throws java.io.IOException
-
- Specified by:
input
in interface oracle.security.crypto.util.Streamable
-
- Throws:
java.io.IOException
output
public void output(java.io.OutputStream os)
throws java.io.IOException
-
- Specified by:
output
in interface oracle.security.crypto.util.Streamable
-
- Throws:
java.io.IOException
length
public int length()
-
- Specified by:
length
in interface oracle.security.crypto.util.Streamable
Skip navigation links
Copyright © 2005, 2011 , Oracle. All rights reserved.