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 } -- 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 Details

  • 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
    • 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
    • fromOid

      public static SemanticsIdentifier fromOid​(String oid)