public enum RDNAttributeIdentifier extends Enum<RDNAttributeIdentifier>
| Enum Constant and Description |
|---|
COMMON_NAME
Common name attribute
RDN Name: CN |
COUNTRY
Country attribute
RDN Name: C |
DISTINGUISHED_NAME
Distinguished name attribute
|
DISTINGUISHED_NAME_QUALIFIER
Distinguished name qualifier attribute
RDN Name: DNQUALIFIER |
DOMAIN_COMPONENT
Domain component attribute
RDN Name: DC |
EMAIL
Legacy email attribute
RDN Name: E |
GERNERAL_QUALIFIER
General qualifier attribute
RDN Name: GERNERAL_QUALIFIER |
GIVEN_NAME
Given name attribute
RDN Name: GIVENNAME |
INITIALS
Initials attribute
RDN Name: INITIALS |
LOCALITY
Locality (city) attribute
RDN Name: L |
ORGANIZATION
Organization attribute
RDN Name: O |
ORGANIZATIONAL_UNIT
Organizational unit attribute
RDN Name: OU |
PSEUDONYM
Pseudonym attribute
RDN Name: PSEUDONYM |
SERIAL_NUMBER
Serial number attribute
RDN Name: SERIALNUMBER |
STATE
State attribute
RDN Name: ST |
SURNAME
Surname attribute
RDN Name: SN |
TITLE
Title name attribute
RDN Name: TITLE |
| Modifier and Type | Method and Description |
|---|---|
static RDNAttributeIdentifier |
fromName(String name)
Gets the RDNAttributeIdentifier associated with the RDN name.
|
String |
getId()
Gets the object identifier (OID) of the RDN attribute.
|
String |
getName()
Gets the name of the attribute as it is commonly displayed in an X509 certificate viewer
|
String |
toString() |
static RDNAttributeIdentifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RDNAttributeIdentifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RDNAttributeIdentifier COMMON_NAME
public static final RDNAttributeIdentifier COUNTRY
public static final RDNAttributeIdentifier ORGANIZATION
public static final RDNAttributeIdentifier ORGANIZATIONAL_UNIT
public static final RDNAttributeIdentifier STATE
public static final RDNAttributeIdentifier LOCALITY
public static final RDNAttributeIdentifier EMAIL
public static final RDNAttributeIdentifier DOMAIN_COMPONENT
public static final RDNAttributeIdentifier DISTINGUISHED_NAME_QUALIFIER
public static final RDNAttributeIdentifier SERIAL_NUMBER
public static final RDNAttributeIdentifier SURNAME
public static final RDNAttributeIdentifier TITLE
public static final RDNAttributeIdentifier GIVEN_NAME
public static final RDNAttributeIdentifier INITIALS
public static final RDNAttributeIdentifier PSEUDONYM
public static final RDNAttributeIdentifier GERNERAL_QUALIFIER
public static final RDNAttributeIdentifier DISTINGUISHED_NAME
This attribute is overloaded by the policy engine and returns the full relative distinguished name using RFC2253 formatting
RDN Name: GERNERAL_QUALIFIER
public static RDNAttributeIdentifier[] values()
for (RDNAttributeIdentifier c : RDNAttributeIdentifier.values()) System.out.println(c);
public static RDNAttributeIdentifier valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getId()
public String getName()
public String toString()
toString in class Enum<RDNAttributeIdentifier>public static RDNAttributeIdentifier fromName(String name)
name - Name or parsed token used to lookup the RDNAttributeIdentifier.Copyright © 2010-2016 The Direct Project. All Rights Reserved.