com.lowagie.text.pdf

Class PdfPKCS7.X509Name

public static class PdfPKCS7.X509Name extends Object

a class that holds an X509 name
Field Summary
static DERObjectIdentifierC
country code - StringType(SIZE(2))
static DERObjectIdentifierCN
common name - StringType(SIZE(1..64))
static DERObjectIdentifierDC
object identifier
static HashMapDefaultSymbols
A HashMap with default symbols
static DERObjectIdentifierE
email address in Verisign certificates
static DERObjectIdentifierEmailAddress
Email address (RSA PKCS#9 extension) - IA5String.
static DERObjectIdentifierGENERATION
Naming attribute of type X520name
static DERObjectIdentifierGIVENNAME
Naming attribute of type X520name
static DERObjectIdentifierINITIALS
Naming attribute of type X520name
static DERObjectIdentifierL
locality name - StringType(SIZE(1..64))
static DERObjectIdentifierO
organization - StringType(SIZE(1..64))
static DERObjectIdentifierOU
organizational unit name - StringType(SIZE(1..64))
static DERObjectIdentifierSN
device serial number name - StringType(SIZE(1..64))
static DERObjectIdentifierST
state, or province name - StringType(SIZE(1..64))
static DERObjectIdentifierSURNAME
Naming attribute of type X520name
static DERObjectIdentifierT
Title
static DERObjectIdentifierUID
LDAP User id.
static DERObjectIdentifierUNIQUE_IDENTIFIER
Naming attribute of type X520name
HashMapvalues
A HashMap with values
Constructor Summary
X509Name(ASN1Sequence seq)
Constructs an X509 name
X509Name(String dirName)
Constructs an X509 name
Method Summary
StringgetField(String name)
ArrayListgetFieldArray(String name)
gets a field array from the values Hashmap
HashMapgetFields()
getter for values
StringtoString()

Field Detail

C

public static final DERObjectIdentifier C
country code - StringType(SIZE(2))

CN

public static final DERObjectIdentifier CN
common name - StringType(SIZE(1..64))

DC

public static final DERObjectIdentifier DC
object identifier

DefaultSymbols

public static HashMap DefaultSymbols
A HashMap with default symbols

E

public static final DERObjectIdentifier E
email address in Verisign certificates

EmailAddress

public static final DERObjectIdentifier EmailAddress
Email address (RSA PKCS#9 extension) - IA5String.

Note: if you're trying to be ultra orthodox, don't use this! It shouldn't be in here.

GENERATION

public static final DERObjectIdentifier GENERATION
Naming attribute of type X520name

GIVENNAME

public static final DERObjectIdentifier GIVENNAME
Naming attribute of type X520name

INITIALS

public static final DERObjectIdentifier INITIALS
Naming attribute of type X520name

L

public static final DERObjectIdentifier L
locality name - StringType(SIZE(1..64))

O

public static final DERObjectIdentifier O
organization - StringType(SIZE(1..64))

OU

public static final DERObjectIdentifier OU
organizational unit name - StringType(SIZE(1..64))

SN

public static final DERObjectIdentifier SN
device serial number name - StringType(SIZE(1..64))

ST

public static final DERObjectIdentifier ST
state, or province name - StringType(SIZE(1..64))

SURNAME

public static final DERObjectIdentifier SURNAME
Naming attribute of type X520name

T

public static final DERObjectIdentifier T
Title

UID

public static final DERObjectIdentifier UID
LDAP User id.

UNIQUE_IDENTIFIER

public static final DERObjectIdentifier UNIQUE_IDENTIFIER
Naming attribute of type X520name

values

public HashMap values
A HashMap with values

Constructor Detail

X509Name

public X509Name(ASN1Sequence seq)
Constructs an X509 name

Parameters: seq an ASN1 Sequence

X509Name

public X509Name(String dirName)
Constructs an X509 name

Parameters: dirName a directory name

Method Detail

getField

public String getField(String name)

getFieldArray

public ArrayList getFieldArray(String name)
gets a field array from the values Hashmap

Parameters: name

Returns: an ArrayList

getFields

public HashMap getFields()
getter for values

Returns: a HashMap with the fields of the X509 name

toString

public String toString()

See Also: java.lang.Object#toString()