Package org.globus.gsi.util
Enum Class Oid
- All Implemented Interfaces:
Serializable
,Comparable<Oid>
,Constable
Common OID values.
Adapted from BouncyCastle BCStyle class.
Copyright (c) 2000 - 2012 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionbusinessCategory - DirectoryString(SIZE(1..128)country code - StringType(SIZE(2))common name - StringType(SIZE(1..64))RFC 3039 CountryOfCitizenship - PrintableString (SIZE (2)) -- ISO 3166 codes onlyRFC 3039 CountryOfResidence - PrintableString (SIZE (2)) -- ISO 3166 codes onlyRFC 3039 DateOfBirth - GeneralizedTime - YYYYMMDD000000ZRFC 2256 dmdNamednQualifier - DirectoryString(SIZE(1..64)Email address (RSA PKCS#9 extension) - IA5String.RFC 3039 Gender - PrintableString (SIZE(1)) -- "M", "F", "m" or "f"locality name - StringType(SIZE(1..64))id-at-nameISIS-MTT NameAtBirth - DirectoryString(SIZE(1..64)organization - StringType(SIZE(1..64))organizational unit name - StringType(SIZE(1..64))RFC 3039 PlaceOfBirth - DirectoryString(SIZE(1..128)RFC 3039 PostalAddress - SEQUENCE SIZE (1..6) OF DirectoryString(SIZE(1..30))postalCode - DirectoryString(SIZE(1..40)RFC 3039 Pseudonym - DirectoryString(SIZE(1..64)device serial number name - StringType(SIZE(1..64))state, or province name - StringType(SIZE(1..64))street - StringType(SIZE(1..64))Naming attributes of type X520nameTitleid-at-telephoneNumberLDAP User id.more from PKCS#9 -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
C
country code - StringType(SIZE(2)) -
O
organization - StringType(SIZE(1..64)) -
OU
organizational unit name - StringType(SIZE(1..64)) -
T
Title -
CN
common name - StringType(SIZE(1..64)) -
SERIALNUMBER
device serial number name - StringType(SIZE(1..64)) -
L
locality name - StringType(SIZE(1..64)) -
ST
state, or province name - StringType(SIZE(1..64)) -
STREET
street - StringType(SIZE(1..64)) -
SURNAME
Naming attributes of type X520name -
GIVENNAME
-
INITIALS
-
GENERATION
-
UNIQUE_IDENTIFIER
-
BUSINESS_CATEGORY
businessCategory - DirectoryString(SIZE(1..128) -
POSTAL_CODE
postalCode - DirectoryString(SIZE(1..40) -
DN_QUALIFIER
dnQualifier - DirectoryString(SIZE(1..64) -
PSEUDONYM
RFC 3039 Pseudonym - DirectoryString(SIZE(1..64) -
DATE_OF_BIRTH
RFC 3039 DateOfBirth - GeneralizedTime - YYYYMMDD000000Z -
PLACE_OF_BIRTH
RFC 3039 PlaceOfBirth - DirectoryString(SIZE(1..128) -
GENDER
RFC 3039 Gender - PrintableString (SIZE(1)) -- "M", "F", "m" or "f" -
COUNTRY_OF_CITIZENSHIP
RFC 3039 CountryOfCitizenship - PrintableString (SIZE (2)) -- ISO 3166 codes only -
COUNTRY_OF_RESIDENCE
RFC 3039 CountryOfResidence - PrintableString (SIZE (2)) -- ISO 3166 codes only -
NAME_AT_BIRTH
ISIS-MTT NameAtBirth - DirectoryString(SIZE(1..64) -
POSTAL_ADDRESS
RFC 3039 PostalAddress - SEQUENCE SIZE (1..6) OF DirectoryString(SIZE(1..30)) -
DMD_NAME
RFC 2256 dmdName -
TELEPHONE_NUMBER
id-at-telephoneNumber -
NAME
id-at-name -
EmailAddress
Email address (RSA PKCS#9 extension) - IA5String.Note: if you're trying to be ultra orthodox, don't use this! It shouldn't be in here.
-
UnstructuredName
more from PKCS#9 -
UnstructuredAddress
-
DC
-
UID
LDAP User id. -
IP
-
-
Field Details
-
oid
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
-