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
FieldsModifier and TypeFieldDescriptionstatic final IASN1ObjectIdentifierCountry code - StringType(SIZE(2)).static final IASN1ObjectIdentifierCommon name - StringType(SIZE(1..64)).static final IASN1ObjectIdentifierObject identifier.static final Map<IASN1ObjectIdentifier,String> A Map with default symbols.static final IASN1ObjectIdentifierEmail address in Verisign certificates.static final IASN1ObjectIdentifierEmail address (RSA PKCS#9 extension) - IA5String.static final IASN1ObjectIdentifierNaming attribute of type X520name.static final IASN1ObjectIdentifierNaming attribute of type X520name.static final IASN1ObjectIdentifierNaming attribute of type X520name.static final IASN1ObjectIdentifierLocality name - StringType(SIZE(1..64)).static final IASN1ObjectIdentifierOrganization - StringType(SIZE(1..64)).static final IASN1ObjectIdentifierOrganizational unit name - StringType(SIZE(1..64)).static final IASN1ObjectIdentifierDevice serial number name - StringType(SIZE(1..64)).static final IASN1ObjectIdentifierState, or province name - StringType(SIZE(1..64)).static final IASN1ObjectIdentifierNaming attribute of type X520name.static final IASN1ObjectIdentifierTitle.static final IASN1ObjectIdentifierLDAP User id.static final IASN1ObjectIdentifierNaming attribute of type X520name. -
Constructor Summary
ConstructorsConstructorDescriptionX500Name(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
-