Package eu.europa.esig.dss.enumerations
Enum SemanticsIdentifier
- All Implemented Interfaces:
OidBasedEnum
,OidDescription
,Serializable
,Comparable<SemanticsIdentifier>
public enum SemanticsIdentifier extends Enum<SemanticsIdentifier> implements OidDescription
ETSI EN 319 412-1 V1.1.1
-- Semantics identifiers
id-etsi-qcs-semantics-identifiers OBJECT IDENTIFIER ::= { itu-t(0)
identified-organization(4) etsi(0) id-cert-profile(194121) 1 }
-- Semantics identifier for natural person identifier
id-etsi-qcs-semanticsId-Natural OBJECT IDENTIFIER ::= {
id-etsi-qcs-semantics-identifiers 1 }
-- Semantics identifier for legal person identifier
id-etsi-qcs-SemanticsId-Legal OBJECT IDENTIFIER ::= {
id-etsi-qcs-semantics-identifiers 2 }
-
Enum Constant Summary
Enum Constants Enum Constant Description qcsSemanticsIdLegal
qcsSemanticsIdNatural
-
Method Summary
Modifier and Type Method Description static SemanticsIdentifier
fromOid(String oid)
String
getDescription()
This method returns the literal description of the OIDString
getOid()
This method returns the OID valuestatic SemanticsIdentifier
valueOf(String name)
Returns the enum constant of this type with the specified name.static SemanticsIdentifier[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getOid
Description copied from interface:OidBasedEnum
This method returns the OID value- Specified by:
getOid
in interfaceOidBasedEnum
- Returns:
- the OID value
-
getDescription
Description copied from interface:OidDescription
This method returns the literal description of the OID- Specified by:
getDescription
in interfaceOidDescription
- Returns:
- the OID description
-
fromOid
-