public class X509Name extends java.lang.Object implements DistinguishedName
A DN is a SEQUENCE of SETs of "attribute value assertions" (AVAs)
Each AVA consists of a type and a value.
| Constructor and Description |
|---|
X509Name(byte[] nameDER)
Create a name given the DER
|
X509Name(java.util.Vector dn) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
getName()
Get the name in more or less unformatted form.
|
byte[] |
getNameDER()
Get the DER form of the name
|
java.lang.String |
getNameString()
Get the name in a string form
|
public X509Name(byte[] nameDER)
nameDER - the encoded form of the namepublic X509Name(java.util.Vector dn)
public byte[] getNameDER()
getNameDER in interface DistinguishedNamepublic java.util.Vector getName()
The outer SEQUENCE is represented by a Vector, each element of which (a SET) is also a Vector. Each element of the inner Vector (the AVA) is a String[2] with the first element being the attribute and the second being the value
getName in interface DistinguishedNamepublic java.lang.String getNameString()
getNameString in interface DistinguishedNameCopyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.