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,ArrayList<String>> |
values
A HashMap 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,ArrayList<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,ArrayList<String>> getFields()
public String toString()
toString
in class Object
Object.toString()
Copyright © 1998–2019. All rights reserved.