public static class CertificateInfo.X500Name extends Object
Modifier and Type | Field and Description |
---|---|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
C
Country code - StringType(SIZE(2)).
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
CN
Common name - StringType(SIZE(1..64)).
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
DC
Object identifier.
|
static Map |
DefaultSymbols
A Map with default symbols.
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
E
Email address in Verisign certificates.
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
EmailAddress
Email address (RSA PKCS#9 extension) - IA5String.
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
GENERATION
Naming attribute of type X520name.
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
GIVENNAME
Naming attribute of type X520name.
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
INITIALS
Naming attribute of type X520name.
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
L
Locality name - StringType(SIZE(1..64)).
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
O
Organization - StringType(SIZE(1..64)).
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
OU
Organizational unit name - StringType(SIZE(1..64)).
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
SN
Device serial number name - StringType(SIZE(1..64)).
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
ST
State, or province name - StringType(SIZE(1..64)).
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
SURNAME
Naming attribute of type X520name.
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
T
Title.
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
UID
LDAP User id.
|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
UNIQUE_IDENTIFIER
Naming attribute of type X520name.
|
Map<String,List<String>> |
values
A Map with values.
|
Constructor and Description |
---|
X500Name(org.bouncycastle.asn1.ASN1Sequence seq)
Constructs an X509 name.
|
X500Name(String dirName)
Constructs an X509 name.
|
Modifier and Type | Method and Description |
---|---|
String |
getField(String name)
Gets the first entry from the field array retrieved from the values Map.
|
List<String> |
getFieldArray(String name)
Gets a field array from the values Map.
|
Map<String,List<String>> |
getFields()
Getter for values.
|
String |
toString() |
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier C
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier O
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier OU
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier T
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier CN
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier SN
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier L
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier ST
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier SURNAME
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier GIVENNAME
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier INITIALS
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier GENERATION
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier UNIQUE_IDENTIFIER
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier EmailAddress
Note: if you're trying to be ultra orthodox, don't use this! It shouldn't be in here.
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier E
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier DC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier UID
public static final MapString> DefaultSymbols
public X500Name(org.bouncycastle.asn1.ASN1Sequence seq)
seq
- an ASN1 Sequence
public X500Name(String dirName)
dirName
- a directory name
public String getField(String name)
name
- the field name
public List<String> getFieldArray(String name)
name
-
public Map<String,List<String>> getFields()
Copyright © 1998–2016 iText Group NV. All rights reserved.