COM.claymoresystems.cert
Class X509Name
java.lang.Object
COM.claymoresystems.cert.X509Name
- DistinguishedName
public class X509Name
extends java.lang.Object
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.
Vector | getName() - Get the name in more or less unformatted form.
|
byte[] | getNameDER() - Get the DER form of the name
|
String | getNameString() - Get the name in a string form
|
X509Name
public X509Name(Vector dn)
X509Name
public X509Name(byte[] nameDER)
Create a name given the DER
nameDER
- the encoded form of the name
getName
public Vector getName()
Get the name in more or less unformatted form.
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
- the name in a Vector form
getNameString
public String getNameString()
Get the name in a string form
- getNameString in interface DistinguishedName
- a string formatted version of the name
Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.