|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--iaik.me.asn1.Name
The X.500 Distinguished Name. It is used to identify principals in certificates and certificates requests.
X509Certificate,
CertificateRequest| Constructor Summary | |
Name()
Create a new, empty name. |
|
Name(ASN1 asn1)
Create a name from its ASN.1 structure. |
|
Name(byte[] b)
Create a name from its encoding. |
|
| Method Summary | |
void |
addRDN(String oid,
ASN1 value)
Add a new RDN to this name. |
void |
addRDN(String oid,
String value)
Add a new RDN to this name. |
static void |
checkValid(ASN1 asn1)
Check if the given ASN.1 structure is a valid X.500 name. |
void |
clearASN1()
Clear the internally stored ASN.1 structure. |
void |
clearEncoded()
Clear the encoding for this name. |
boolean |
equals(Object obj)
Test to names for equality. |
ASN1 |
getASN1()
Get the ASN.1 structure for this name. |
byte[] |
getEncoded()
Get the DER encoding of this name. |
String |
getRDN(String oid)
Get the value for oid. |
String[] |
getRDNs(String oid)
Get all values for oid. |
int |
hashCode()
|
String |
toString()
Return a string representation for this name. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Name(ASN1 asn1)
throws IOException
public Name(byte[] b)
throws IOException
public Name()
| Method Detail |
public void addRDN(String oid,
String value)
public void addRDN(String oid,
ASN1 value)
public String getRDN(String oid)
public String[] getRDNs(String oid)
public static void checkValid(ASN1 asn1)
throws IOException
public ASN1 getASN1()
public void clearASN1()
public byte[] getEncoded()
public void clearEncoded()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
This Javadoc may contain text parts from IETF Internet Standard specifications, see copyright note) and RSA Data Security Public-Key Cryptography Standards (see copyright note). | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
IAIK-JCE ME 3.04, (c) 2002 IAIK, (c) 2003 to 2006 Stiftung SIC