Enum SignatureType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SignatureType>

    public enum SignatureType
    extends java.lang.Enum<SignatureType>
    • Enum Constant Detail

      • UNSIGNED

        public static final SignatureType UNSIGNED
        Represents an unsigned (empty) signature field
      • INCOMPLETE

        public static final SignatureType INCOMPLETE
        Represents an incomplete or partly signed signature field. This signature should be considered broken.
      • APPROVAL

        public static final SignatureType APPROVAL
        Signed signature type. A document can contain one or more approval signatures. These signatures appear in signature form fields. *dobe Reader shows a green check mark when a valid approval signature, signed with an official certificate is present.
      • CERTIFICATION_ALL_CHANGES

        public static final SignatureType CERTIFICATION_ALL_CHANGES
        Signed signature type. A document can contain (only) one certification signature. This signature can define different permissions. *dobe Reader shows a blue ribbon when a document was certified with an official certificate.

        All changes to the document are permitted; no change to the document shall invalidate the signature.

      • CERTIFICATION_NO_CHANGES

        public static final SignatureType CERTIFICATION_NO_CHANGES
        Signed signature type. A document can contain (only) one certification signature. This signature can define different permissions. *dobe Reader shows a blue ribbon when a document was certified with an official certificate.

        No changes to the document shall be permitted; any change to the document shall invalidate the signature.

      • CERTIFICATION_FILLINGFORMS_SIGNING

        public static final SignatureType CERTIFICATION_FILLINGFORMS_SIGNING
        Signed signature type. A document can contain (only) one certification signature. This signature can define different permissions. *dobe Reader shows a blue ribbon when a document was certified with an official certificate.

        Permitted changes shall be filling in forms, instantiating page templates, and signing; other changes shall invalidate the signature.

      • CERTIFICATION_FILLINGFORMS_SIGNING_ANNOTATIONS

        public static final SignatureType CERTIFICATION_FILLINGFORMS_SIGNING_ANNOTATIONS
        Signed signature type. A document can contain (only) one certification signature. This signature can define different permissions. *dobe Reader shows a blue ribbon when a document was certified with an official certificate.

        Permitted changes shall be the same as for 2, as well as annotation creation,deletion, and modification; other changes shall invalidate the signature.

      • USAGE_RIGHTS

        public static final SignatureType USAGE_RIGHTS
        Signed signature type. A document can contain one usage rights signature (in previous PDF specs two). This signature is created by certain manufacturers using their own, proprietary key. When a PDF document is signed with such a usage rights signature certain features might be unlocked. For instance *dobe has such a key which unlocks certain features ('Reader enabled') in its reader software. But other vendors can use their own private key to enforce similar usage rights in their own software.
    • Constructor Detail

      • SignatureType

        private SignatureType()
    • Method Detail

      • values

        public static SignatureType[] 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 (SignatureType c : SignatureType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SignatureType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isCertificationType

        public boolean isCertificationType()