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<org.bouncycastle.asn1.ASN1Encodable,String> |
defaultSymbols |
static HashMap |
DefaultSymbols
Deprecated.
|
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
|
HashMap |
values
Deprecated.
|
Map<String,List<String>> |
valuesMap |
Constructor and Description |
---|
X509Name(org.bouncycastle.asn1.ASN1Sequence seq)
Constructs an X509 name
|
X509Name(String dirName)
Constructs an X509 name
|
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getAllFields()
getter for values
|
String |
getField(String name) |
ArrayList |
getFieldArray(String name)
Deprecated.
|
HashMap |
getFields()
Deprecated.
use
getAllFields() |
List<String> |
getFieldsByName(String name)
gets a field array from the values Hashmap
|
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
@Deprecated public static HashMap DefaultSymbols
@Deprecated public HashMap values
public X509Name(org.bouncycastle.asn1.ASN1Sequence seq)
seq
- an ASN1 Sequencepublic X509Name(String dirName)
dirName
- a directory name@Deprecated public ArrayList getFieldArray(String name)
getFieldsByName(String)
name
- public List<String> getFieldsByName(String name)
name
- @Deprecated public HashMap getFields()
getAllFields()
public Map<String,List<String>> getAllFields()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.