Enum SignatureFormat

java.lang.Object
java.lang.Enum<SignatureFormat>
com.pdftools.crypto.SignatureFormat
All Implemented Interfaces:
Serializable, Comparable<SignatureFormat>

public enum SignatureFormat extends Enum<SignatureFormat>
  • Enum Constant Details

    • ADBE_PKCS7_DETACHED

      public static final SignatureFormat ADBE_PKCS7_DETACHED

      Legacy PAdES Basic signature (PDF 1.6)

      Legacy PAdES Basic signature specified by ETSI TS 102 778, Part 2. This type can be used for document signatures and certification (MDP) signatures.
    • ETSI_CADES_DETACHED

      public static final SignatureFormat ETSI_CADES_DETACHED

      PAdES signature (PDF 2.0)

      PAdES signature as specified by European Standard ETSI EN 319 142. This type can be used for document signatures and certification (MDP) signatures.
  • Method Details

    • values

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