Enum SignatureForm

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

public enum SignatureForm extends Enum<SignatureForm>
Different signature forms.
  • Enum Constant Details

    • XAdES

      public static final SignatureForm XAdES
      An XML-based signature according to EN 319 132
    • CAdES

      public static final SignatureForm CAdES
      A CMS-based signature according to EN 319 122
    • JAdES

      public static final SignatureForm JAdES
      A JSON-based signature according to TS 119 182
    • PAdES

      public static final SignatureForm PAdES
      A PDF-based signature according to EN 319 142
    • PKCS7

      public static final SignatureForm PKCS7
      A PDF-based signature according to ISO 32000
  • Method Details

    • values

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