|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCOM.claymoresystems.cert.X509Name
public class X509Name
An implementation of Distinguished Names
A DN is a SEQUENCE of SETs of "attribute value assertions" (AVAs)
Each AVA consists of a type and a value.
Constructor Summary | |
---|---|
X509Name(byte[] nameDER)
Create a name given the DER |
|
X509Name(java.util.Vector dn)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public X509Name(byte[] nameDER)
nameDER
- the encoded form of the namepublic X509Name(java.util.Vector dn)
Method Detail |
---|
public byte[] getNameDER()
getNameDER
in interface DistinguishedName
public 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 DistinguishedName
public java.lang.String getNameString()
getNameString
in interface DistinguishedName
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |