Package com.itextpdf.signatures
Class CertificateInfo.X500Name
java.lang.Object
com.itextpdf.signatures.CertificateInfo.X500Name
- Enclosing class:
- CertificateInfo
Class that holds an X509 name.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final IASN1ObjectIdentifier
Country code - StringType(SIZE(2)).static final IASN1ObjectIdentifier
Common name - StringType(SIZE(1..64)).static final IASN1ObjectIdentifier
Object identifier.static final Map<IASN1ObjectIdentifier,
String> A Map with default symbols.static final IASN1ObjectIdentifier
Email address in Verisign certificates.static final IASN1ObjectIdentifier
Email address (RSA PKCS#9 extension) - IA5String.static final IASN1ObjectIdentifier
Naming attribute of type X520name.static final IASN1ObjectIdentifier
Naming attribute of type X520name.static final IASN1ObjectIdentifier
Naming attribute of type X520name.static final IASN1ObjectIdentifier
Locality name - StringType(SIZE(1..64)).static final IASN1ObjectIdentifier
Organization - StringType(SIZE(1..64)).static final IASN1ObjectIdentifier
Organizational unit name - StringType(SIZE(1..64)).static final IASN1ObjectIdentifier
Device serial number name - StringType(SIZE(1..64)).static final IASN1ObjectIdentifier
State, or province name - StringType(SIZE(1..64)).static final IASN1ObjectIdentifier
Naming attribute of type X520name.static final IASN1ObjectIdentifier
Title.static final IASN1ObjectIdentifier
LDAP User id.static final IASN1ObjectIdentifier
Naming attribute of type X520name. -
Constructor Summary
ConstructorDescriptionX500Name
(IASN1Sequence seq) Constructs an X509 name.Constructs an X509 name. -
Method Summary
-
Field Details
-
C
Country code - StringType(SIZE(2)). -
O
Organization - StringType(SIZE(1..64)). -
OU
Organizational unit name - StringType(SIZE(1..64)). -
T
Title. -
CN
Common name - StringType(SIZE(1..64)). -
SN
Device serial number name - StringType(SIZE(1..64)). -
L
Locality name - StringType(SIZE(1..64)). -
ST
State, or province name - StringType(SIZE(1..64)). -
SURNAME
Naming attribute of type X520name. -
GIVENNAME
Naming attribute of type X520name. -
INITIALS
Naming attribute of type X520name. -
GENERATION
Naming attribute of type X520name. -
UNIQUE_IDENTIFIER
Naming attribute of type X520name. -
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.
-
E
Email address in Verisign certificates. -
DC
Object identifier. -
UID
LDAP User id. -
DefaultSymbols
A Map with default symbols.
-
-
Constructor Details
-
X500Name
Constructs an X509 name.- Parameters:
-
seq
- an ASN1 Sequence
-
X500Name
Constructs an X509 name.- Parameters:
-
dirName
- a directory name
-
-
Method Details
-
getField
Gets the first entry from the field array retrieved from the values Map.- Parameters:
-
name
- the field name - Returns:
- the (first) field value
-
getFieldArray
Gets a field array from the values Map.- Parameters:
-
name
- The field name - Returns:
- List
-
getFields
Getter for values.- Returns:
- Map with the fields of the X509 name
-
toString
-