Enum CommitmentTypeEnum

java.lang.Object
java.lang.Enum<CommitmentTypeEnum>
eu.europa.esig.dss.enumerations.CommitmentTypeEnum
All Implemented Interfaces:
CommitmentType, ObjectIdentifier, OidAndUriBasedEnum, OidBasedEnum, OidDescription, UriBasedEnum, Serializable, Comparable<CommitmentTypeEnum>

public enum CommitmentTypeEnum extends Enum<CommitmentTypeEnum> implements CommitmentType
Defined in ETSI TS 119 172-1 Annex B
  • Enum Constant Details

    • ProofOfOrigin

      public static final CommitmentTypeEnum ProofOfOrigin
      It indicates that the signer recognizes to have created, approved and sent the signed data.
    • ProofOfReceipt

      public static final CommitmentTypeEnum ProofOfReceipt
      It indicates that signer recognizes to have received the content of the signed data.
    • ProofOfDelivery

      public static final CommitmentTypeEnum ProofOfDelivery
      It indicates that the TSP providing that indication has delivered a signed data in a local store accessible to the recipient of the signed data.
    • ProofOfSender

      public static final CommitmentTypeEnum ProofOfSender
      It indicates that the entity providing that indication has sent the signed data (but not necessarily created it).
    • ProofOfApproval

      public static final CommitmentTypeEnum ProofOfApproval
      It indicates that the signer has approved the content of the signed data.
    • ProofOfCreation

      public static final CommitmentTypeEnum ProofOfCreation
      It indicates that the signer has created the signed data (but not necessarily approved, nor sent it).
  • Method Details

    • values

      public static CommitmentTypeEnum[] 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 CommitmentTypeEnum 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
    • getUri

      public String getUri()
      Description copied from interface: UriBasedEnum
      Returns a URI
      Specified by:
      getUri in interface UriBasedEnum
      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
    • getQualifier

      public ObjectIdentifierQualifier getQualifier()
      Description copied from interface: ObjectIdentifier
      Returns Object Identifier Qualifier
      Specified by:
      getQualifier in interface ObjectIdentifier
      Returns:
      ObjectIdentifierQualifier
    • 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
    • getDocumentationReferences

      public String[] getDocumentationReferences()
      Description copied from interface: ObjectIdentifier
      Returns a list of URI-based references NOTE: used in XAdES
      Specified by:
      getDocumentationReferences in interface ObjectIdentifier
      Returns:
      an array of URI String references