public final class C509AttributeType
extends java.lang.Object
In an int-coded RDN attribute the absolute value of the int is the registered attribute value and the sign carries the DER string type: positive for utf8String, negative for printableString. Attributes whose ASN.1 type is always IA5String (emailAddress and domainComponent) are represented with a non-negative int (Section 3.1.4).
| Modifier and Type | Field and Description |
|---|---|
static int |
BUSINESS_CATEGORY
Business Category (2.5.4.15).
|
static int |
COMMON_NAME
Common Name (2.5.4.3).
|
static int |
COUNTRY
Country (2.5.4.6).
|
static int |
DMD_NAME
Directory Management Domain Name (2.5.4.54).
|
static int |
DN_QUALIFIER
DN Qualifier (2.5.4.46).
|
static int |
DOMAIN_COMPONENT
Domain Component (0.9.2342.19200300.100.1.25), always IA5String.
|
static int |
EMAIL_ADDRESS
Email Address (1.2.840.113549.1.9.1), always IA5String.
|
static int |
GENERATION_QUALIFIER
Generation Qualifier (2.5.4.44).
|
static int |
GIVEN_NAME
Given Name (2.5.4.42).
|
static int |
INITIALS
Initials (2.5.4.43).
|
static int |
JURISDICTION_COUNTRY_NAME
Jurisdiction Country Name (1.3.6.1.4.1.311.60.2.1.3).
|
static int |
JURISDICTION_LOCALITY_NAME
Jurisdiction Locality Name (1.3.6.1.4.1.311.60.2.1.1).
|
static int |
JURISDICTION_STATE_OR_PROVINCE
Jurisdiction State or Province (1.3.6.1.4.1.311.60.2.1.2).
|
static int |
LOCALITY
Locality (2.5.4.7).
|
static int |
NAME
Name (2.5.4.41).
|
static int |
ORGANIZATION
Organization (2.5.4.10).
|
static int |
ORGANIZATION_IDENTIFIER
Organization Identifier (2.5.4.97).
|
static int |
ORGANIZATIONAL_UNIT
Organizational Unit (2.5.4.11).
|
static int |
POSTAL_CODE
Postal Code (2.5.4.17).
|
static int |
PSEUDONYM
Pseudonym (2.5.4.65).
|
static int |
SERIAL_NUMBER
Serial Number (2.5.4.5).
|
static int |
STATE_OR_PROVINCE
State or Province (2.5.4.8).
|
static int |
STREET_ADDRESS
Street Address (2.5.4.9).
|
static int |
SURNAME
Surname (2.5.4.4).
|
static int |
TELEPHONE_NUMBER
Telephone Number (2.5.4.20).
|
static int |
TITLE
Title (2.5.4.12).
|
static int |
UID
userid (0.9.2342.19200300.100.1.1).
|
static int |
UNSTRUCTURED_ADDRESS
Unstructured Address (1.2.840.113549.1.9.8).
|
static int |
UNSTRUCTURED_NAME
Unstructured Name (1.2.840.113549.1.9.2).
|
| Modifier and Type | Method and Description |
|---|---|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
getOID(long value)
Return the attribute type object identifier a registered value stands for, or
null if the value is not registered.
|
static java.lang.Long |
getValue(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
Return the registered value for an attribute type object identifier, or null if
it is not registered.
|
static boolean |
isAlwaysIA5String(long value)
Return true if the registered value is one whose attribute is always of type
IA5String (emailAddress, domainComponent), unambiguously represented using a
non-negative int per Section 3.1.4.
|
public static final int EMAIL_ADDRESS
public static final int COMMON_NAME
public static final int SURNAME
public static final int SERIAL_NUMBER
public static final int COUNTRY
public static final int LOCALITY
public static final int STATE_OR_PROVINCE
public static final int STREET_ADDRESS
public static final int ORGANIZATION
public static final int ORGANIZATIONAL_UNIT
public static final int TITLE
public static final int BUSINESS_CATEGORY
public static final int POSTAL_CODE
public static final int GIVEN_NAME
public static final int INITIALS
public static final int GENERATION_QUALIFIER
public static final int DN_QUALIFIER
public static final int PSEUDONYM
public static final int ORGANIZATION_IDENTIFIER
public static final int JURISDICTION_LOCALITY_NAME
public static final int JURISDICTION_STATE_OR_PROVINCE
public static final int JURISDICTION_COUNTRY_NAME
public static final int DOMAIN_COMPONENT
public static final int NAME
public static final int TELEPHONE_NUMBER
public static final int DMD_NAME
public static final int UID
public static final int UNSTRUCTURED_NAME
public static final int UNSTRUCTURED_ADDRESS
public static org.bouncycastle.asn1.ASN1ObjectIdentifier getOID(long value)
public static java.lang.Long getValue(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
public static boolean isAlwaysIA5String(long value)