Enum Class SignatureProfile

java.lang.Object
java.lang.Enum<SignatureProfile>
eu.europa.esig.dss.enumerations.SignatureProfile
All Implemented Interfaces:
Serializable, Comparable<SignatureProfile>, Constable

public enum SignatureProfile extends Enum<SignatureProfile>
Represents a "generic" signature augmentation profile level, such as "*AdES-BASELINE-T".
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Basic Signature, incorporating signed and some unsigned qualifying properties when the signature is generated.
    Signature with Long Term Validation Material, incorporating all the material required for validating the signature in the signature document.
    Signature with Long Term Availability and Integrity of Validation Material, incorporating electronic time-stamps that allow validation of the signature long time after its generation.
    Signature with Time, incorporating a trusted token proving that the signature itself actually existed at a certain date and time.
    Legacy Signature with Long Term Availability and Integrity of Validation Material profile with an archive timestamp qualifying property.
    Legacy Basic Signature profile.
    Legacy Signature profile built on top of EXTENDED-T with qualifying properties containing references to certificates and references to certificate status data values.
    Legacy Basic Signature profile with SignaturePolicyIdentifier qualifying property.
    Signature with Evidence Record profile built on top of BASELINE-* or EXTENDED-* profile, containing an evidence record unsigned qualified property.
    Legacy Signature with Long Term Validation Material profile built on top of EXTENDED-T with all the material required for validating the signature in the signature document.
    Legacy Signature with Long Term Availability and Integrity of Validation Material profile with document security store and one or more document time-stamp (PAdES only).
    Legacy Signature with Time profile with a signature timestamp qualifying property.
    Legacy Signature profile built on top of EXTENDED-C with one or more qualifying properties containing one or more electronic time-stamps Example: XAdES-E-X (ETSI TS 319 132-2)
    Legacy Signature profile built on top of EXTENDED-X with qualifying properties that contain certificates and revocation values.
    Represents an unknown or a not supported signature profile.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the SignatureProfile based on the name (String)
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • BASELINE_B

      public static final SignatureProfile BASELINE_B
      Basic Signature, incorporating signed and some unsigned qualifying properties when the signature is generated. Example: XAdES-BASELINE-B (ETSI EN 319 132-1)
    • BASELINE_T

      public static final SignatureProfile BASELINE_T
      Signature with Time, incorporating a trusted token proving that the signature itself actually existed at a certain date and time. Example: XAdES-BASELINE-T (ETSI EN 319 132-1)
    • BASELINE_LT

      public static final SignatureProfile BASELINE_LT
      Signature with Long Term Validation Material, incorporating all the material required for validating the signature in the signature document. This level aims to tackle the long term availability of the validation material. Example: XAdES-BASELINE-LT (ETSI EN 319 132-1)
    • BASELINE_LTA

      public static final SignatureProfile BASELINE_LTA
      Signature with Long Term Availability and Integrity of Validation Material, incorporating electronic time-stamps that allow validation of the signature long time after its generation. This level aims to tackle the long term availability and integrity of the validation material. Example: XAdES-BASELINE-LTA (ETSI EN 319 132-1)
    • EXTENDED_BES

      public static final SignatureProfile EXTENDED_BES
      Legacy Basic Signature profile. Example: XAdES-E-BES (ETSI TS 319 132-2)
    • EXTENDED_EPES

      public static final SignatureProfile EXTENDED_EPES
      Legacy Basic Signature profile with SignaturePolicyIdentifier qualifying property. Example: XAdES-E-EPES (ETSI TS 319 132-2)
    • EXTENDED_T

      public static final SignatureProfile EXTENDED_T
      Legacy Signature with Time profile with a signature timestamp qualifying property. Example: XAdES-E-T (ETSI TS 319 132-2)
    • EXTENDED_LT

      public static final SignatureProfile EXTENDED_LT
      Legacy Signature with Long Term Validation Material profile built on top of EXTENDED-T with all the material required for validating the signature in the signature document. Example: XAdES-E-LT
    • EXTENDED_C

      public static final SignatureProfile EXTENDED_C
      Legacy Signature profile built on top of EXTENDED-T with qualifying properties containing references to certificates and references to certificate status data values. Example: XAdES-E-C (ETSI TS 319 132-2)
    • EXTENDED_X

      public static final SignatureProfile EXTENDED_X
      Legacy Signature profile built on top of EXTENDED-C with one or more qualifying properties containing one or more electronic time-stamps Example: XAdES-E-X (ETSI TS 319 132-2)
    • EXTENDED_XL

      public static final SignatureProfile EXTENDED_XL
      Legacy Signature profile built on top of EXTENDED-X with qualifying properties that contain certificates and revocation values. Example: XAdES-E-XL (ETSI TS 319 132-2)
    • EXTENDED_A

      public static final SignatureProfile EXTENDED_A
      Legacy Signature with Long Term Availability and Integrity of Validation Material profile with an archive timestamp qualifying property. Example: XAdES-E-A (ETSI TS 319 132-2)
    • EXTENDED_ERS

      public static final SignatureProfile EXTENDED_ERS
      Signature with Evidence Record profile built on top of BASELINE-* or EXTENDED-* profile, containing an evidence record unsigned qualified property. Example: XAdES-E-ERS (ETSI TS 319 132-3)
    • EXTENDED_LTV

      public static final SignatureProfile EXTENDED_LTV
      Legacy Signature with Long Term Availability and Integrity of Validation Material profile with document security store and one or more document time-stamp (PAdES only). Example: PAdES-E-LTV (ETSI TS 119 142-2)
    • NOT_ETSI

      public static final SignatureProfile NOT_ETSI
      Represents an unknown or a not supported signature profile.
  • Method Details

    • values

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

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

      public static SignatureProfile valueByName(String name)
      Returns the SignatureProfile based on the name (String)
      Parameters:
      name - the signature profile's name to retrieve
      Returns:
      the SignatureProfile
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SignatureProfile>