Enum SemanticsIdentifier

java.lang.Object
java.lang.Enum<SemanticsIdentifier>
eu.europa.esig.dss.enumerations.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 }
  • Enum Constant Details

    • qcsSemanticsIdNatural

      public static final SemanticsIdentifier qcsSemanticsIdNatural
      -- Semantics identifier for natural person identifier id-etsi-qcs-semanticsId-Natural OBJECT IDENTIFIER ::= { id-etsi-qcs-semantics-identifiers 1 }
    • qcsSemanticsIdLegal

      public static final SemanticsIdentifier qcsSemanticsIdLegal
      -- Semantics identifier for legal person identifier id-etsi-qcs-SemanticsId-Legal OBJECT IDENTIFIER ::= { id-etsi-qcs-semantics-identifiers 2 }
    • qcsSemanticsIdEIDASNatural

      public static final SemanticsIdentifier qcsSemanticsIdEIDASNatural
      -- Semantics identifier for eIDAS natural person identifier id-etsi-qcs-semanticsId-eIDASNatural OBJECT IDENTIFIER ::= { id-etsi-qcs-semantics-identifiers 3 }
    • qcsSemanticsIdEIDASLegal

      public static final SemanticsIdentifier qcsSemanticsIdEIDASLegal
      -- Semantics identifier for eIDAS legal person identifier id-etsi-qcs-semanticsId-eIDASNatural OBJECT IDENTIFIER ::= { id-etsi-qcs-semantics-identifiers 4 }
  • Method Details

    • values

      public static SemanticsIdentifier[] 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

      public static SemanticsIdentifier valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Returns the ETSI identifier name
      Returns:
      String
    • getOid

      public String getOid()
      Description copied from interface: OidBasedEnum
      This method returns the OID value
      Specified by:
      getOid in interface OidBasedEnum
      Returns:
      the OID value
    • getDescription

      public String getDescription()
      Description copied from interface: OidDescription
      This method returns the literal description of the OID
      Specified by:
      getDescription in interface OidDescription
      Returns:
      the OID description
    • fromName

      public static SemanticsIdentifier fromName(String name)
      Returns SemanticsIdentifier based on the provided identifier name
      Parameters:
      name - String
      Returns:
      SemanticsIdentifier if found by the given identifier name, null otherwise
    • fromOid

      public static SemanticsIdentifier fromOid(String oid)
      Returns SemanticsIdentifier based on the provided OID
      Parameters:
      oid - String
      Returns:
      SemanticsIdentifier if found by the given OID, null otherwise