Package eu.europa.esig.dss.enumerations
Enum Class SemanticsIdentifier
- All Implemented Interfaces:
OidBasedEnum
,OidDescription
,Serializable
,Comparable<SemanticsIdentifier>
,Constable
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 }
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription-- Semantics identifier for eIDAS legal person identifier id-etsi-qcs-semanticsId-eIDASNatural OBJECT IDENTIFIER ::= { id-etsi-qcs-semantics-identifiers 4 }-- Semantics identifier for eIDAS natural person identifier id-etsi-qcs-semanticsId-eIDASNatural OBJECT IDENTIFIER ::= { id-etsi-qcs-semantics-identifiers 3 }-- Semantics identifier for legal person identifier id-etsi-qcs-SemanticsId-Legal OBJECT IDENTIFIER ::= { id-etsi-qcs-semantics-identifiers 2 }-- Semantics identifier for natural person identifier id-etsi-qcs-semanticsId-Natural OBJECT IDENTIFIER ::= { id-etsi-qcs-semantics-identifiers 1 } -
Method Summary
Modifier and TypeMethodDescriptionstatic SemanticsIdentifier
ReturnsSemanticsIdentifier
based on the provided identifier namestatic SemanticsIdentifier
ReturnsSemanticsIdentifier
based on the provided OIDThis method returns the literal description of the OIDgetName()
Returns the ETSI identifier namegetOid()
This method returns the OID valuestatic SemanticsIdentifier
Returns the enum constant of this class with the specified name.static SemanticsIdentifier[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
qcsSemanticsIdNatural
-- Semantics identifier for natural person identifier id-etsi-qcs-semanticsId-Natural OBJECT IDENTIFIER ::= { id-etsi-qcs-semantics-identifiers 1 } -
qcsSemanticsIdLegal
-- Semantics identifier for legal person identifier id-etsi-qcs-SemanticsId-Legal OBJECT IDENTIFIER ::= { id-etsi-qcs-semantics-identifiers 2 } -
qcsSemanticsIdEIDASNatural
-- Semantics identifier for eIDAS natural person identifier id-etsi-qcs-semanticsId-eIDASNatural OBJECT IDENTIFIER ::= { id-etsi-qcs-semantics-identifiers 3 } -
qcsSemanticsIdEIDASLegal
-- Semantics identifier for eIDAS legal person identifier id-etsi-qcs-semanticsId-eIDASNatural OBJECT IDENTIFIER ::= { id-etsi-qcs-semantics-identifiers 4 }
-
-
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
-
getName
-
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
-
fromName
ReturnsSemanticsIdentifier
based on the provided identifier name- Parameters:
name
-String
- Returns:
SemanticsIdentifier
if found by the given identifier name, null otherwise
-
fromOid
ReturnsSemanticsIdentifier
based on the provided OID- Parameters:
oid
-String
- Returns:
SemanticsIdentifier
if found by the given OID, null otherwise
-