Enum SignatureForm

    • Enum Constant Detail

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

      • values

        public static SignatureForm[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SignatureForm c : SignatureForm.values())
            System.out.println(c);
        
        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