public enum StandardAttributeType extends Enum<StandardAttributeType> implements AttributeType
Enumeration values include attributes likely to appear in an X.509 RDN, which were obtained from the following sources:
Enum Constant and Description |
---|
CommonName
CN - RFC 4519 section 2.3.
|
CountryName
C - RFC 4519 section 2.2.
|
Description
DESCRIPTION - RFC 4519 section 2.5.
|
DnQualifier
DNQUALIFIER - RFC 4519 section 2.8.
|
DomainComponent
DC - RFC 4519 section 2.4.
|
EmailAddress
Email address - PKCS#9 v2.0 section B.3.5.
|
GenerationQualifier
GenerationQualifier - RFC 4519 section 2.11.
|
GivenName
GIVENNAME - RFC 4519 section 2.12.
|
Initials
INITIALS - RFC 4519 section 2.14.
|
LocalityName
L - RFC 4519 section 2.16.
|
Mail
MAIL - RFC 4524 section 2.16.
|
Name
NAME - RFC 4519 section 2.18.
|
OrganizationalUnitName
OU - RFC 4519 section 2.20.
|
OrganizationName
O - RFC 4519 section 2.19.
|
PostalAddress
POSTALADDRESS - RFC 4519 section 2.23.
|
PostalCode
POSTALCODE - RFC 4519 section 2.24.
|
PostOfficeBox
POSTOFFICEBOX - RFC 4519 section 2.25.
|
SerialNumber
SERIALNUMBER - RFC 4519 section 2.31.
|
StateOrProvinceName
ST - RFC 4519 section 2.33.
|
StreetAddress
STREET - RFC 4519 section 2.34.
|
Surname
SN - RFC 4519 section 2.32.
|
TelephoneNumber
TELEPHONENUMBER - RFC 4519 section 2.35.
|
Title
TITLE - RFC 4519 section 2.38.
|
UniqueIdentifier
UNIQUEIDENTIFIER - RFC 4524 section 2.24.
|
UserId
UID - RFC 4519 section 2.39.
|
Modifier and Type | Method and Description |
---|---|
static AttributeType |
fromName(String name)
Gets the attribute type whose name is the given string.
|
static StandardAttributeType |
fromOid(String oid)
Gets the attribute type whose OID is the given string.
|
String |
getName() |
String |
getOid() |
String |
toString() |
static StandardAttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardAttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardAttributeType CommonName
public static final StandardAttributeType CountryName
public static final StandardAttributeType Description
public static final StandardAttributeType DnQualifier
public static final StandardAttributeType DomainComponent
public static final StandardAttributeType EmailAddress
public static final StandardAttributeType GenerationQualifier
public static final StandardAttributeType GivenName
public static final StandardAttributeType Initials
public static final StandardAttributeType LocalityName
public static final StandardAttributeType Mail
public static final StandardAttributeType Name
public static final StandardAttributeType OrganizationName
public static final StandardAttributeType OrganizationalUnitName
public static final StandardAttributeType PostalAddress
public static final StandardAttributeType PostalCode
public static final StandardAttributeType PostOfficeBox
public static final StandardAttributeType SerialNumber
public static final StandardAttributeType StateOrProvinceName
public static final StandardAttributeType StreetAddress
public static final StandardAttributeType Surname
public static final StandardAttributeType TelephoneNumber
public static final StandardAttributeType Title
public static final StandardAttributeType UniqueIdentifier
public static final StandardAttributeType UserId
public static StandardAttributeType[] values()
for (StandardAttributeType c : StandardAttributeType.values()) System.out.println(c);
public static StandardAttributeType 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 getOid()
getOid
in interface AttributeType
public String getName()
getName
in interface AttributeType
public String toString()
toString
in class Enum<StandardAttributeType>
public static StandardAttributeType fromOid(String oid)
oid
- OID of attribute type to get.public static AttributeType fromName(String name)
Copyright © 2003-2024 Virginia Tech. All Rights Reserved.