Package com.lowagie.text.pdf
Enum Class SignatureType
- All Implemented Interfaces:
Serializable
,Comparable<SignatureType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSigned signature type.Signed signature type.Signed signature type.Signed signature type.Signed signature type.Represents an incomplete or partly signed signature field.Represents an unsigned (empty) signature fieldSigned signature type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static SignatureType
Returns the enum constant of this class with the specified name.static SignatureType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSIGNED
Represents an unsigned (empty) signature field -
INCOMPLETE
Represents an incomplete or partly signed signature field. This signature should be considered broken. -
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
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
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
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
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
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 Details
-
SignatureType
private SignatureType()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
isCertificationType
public boolean isCertificationType()
-