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 org.bouncycastle.asn1.ASN1ObjectIdentifier
Country code - StringType(SIZE(2)).static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Common name - StringType(SIZE(1..64)).static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Object identifier.A Map with default symbols.static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Email address in Verisign certificates.static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Email address (RSA PKCS#9 extension) - IA5String.static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Naming attribute of type X520name.static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Naming attribute of type X520name.static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Naming attribute of type X520name.static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Locality name - StringType(SIZE(1..64)).static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Organization - StringType(SIZE(1..64)).static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Organizational unit name - StringType(SIZE(1..64)).static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Device serial number name - StringType(SIZE(1..64)).static final org.bouncycastle.asn1.ASN1ObjectIdentifier
State, or province name - StringType(SIZE(1..64)).static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Naming attribute of type X520name.static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Title.static final org.bouncycastle.asn1.ASN1ObjectIdentifier
LDAP User id.static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Naming attribute of type X520name.A Map with values. -
Constructor Summary
-
Method Summary
-
Field Details
-
C
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier CCountry code - StringType(SIZE(2)). -
O
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier OOrganization - StringType(SIZE(1..64)). -
OU
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier OUOrganizational unit name - StringType(SIZE(1..64)). -
T
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier TTitle. -
CN
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier CNCommon name - StringType(SIZE(1..64)). -
SN
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier SNDevice serial number name - StringType(SIZE(1..64)). -
L
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier LLocality name - StringType(SIZE(1..64)). -
ST
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier STState, or province name - StringType(SIZE(1..64)). -
SURNAME
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier SURNAMENaming attribute of type X520name. -
GIVENNAME
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier GIVENNAMENaming attribute of type X520name. -
INITIALS
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier INITIALSNaming attribute of type X520name. -
GENERATION
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier GENERATIONNaming attribute of type X520name. -
UNIQUE_IDENTIFIER
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier UNIQUE_IDENTIFIERNaming attribute of type X520name. -
EmailAddress
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier EmailAddressEmail 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
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier EEmail address in Verisign certificates. -
DC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier DCObject identifier. -
UID
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier UIDLDAP User id. -
DefaultSymbols
A Map with default symbols. -
values
A Map with values.
-
-
Constructor Details
-
X500Name
public X500Name(org.bouncycastle.asn1.ASN1Sequence seq) 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
-