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 HashMap |
DefaultSymbols
A HashMap 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
|
HashMap |
values
A HashMap with values
|
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 |
---|---|
String |
getField(String name) |
ArrayList |
getFieldArray(String name)
gets a field array from the values Hashmap
|
HashMap |
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 HashMap DefaultSymbols
public HashMap values
public X509Name(org.bouncycastle.asn1.ASN1Sequence seq)
seq
- an ASN1 Sequencepublic X509Name(String dirName)
dirName
- a directory namepublic ArrayList getFieldArray(String name)
name
- public HashMap getFields()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.