Package com.itextpdf.signatures
Enum AccessPermissions
- All Implemented Interfaces:
-
Serializable
,Comparable<AccessPermissions>
,java.lang.constant.Constable
Access permissions value to be set to certification signature as a part of DocMDP configuration.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAccess permissions level 3 which indicates that permitted changes, with addition to level 2, are: annotation creation, deletion and modification.Access permissions level 2 which indicates that permitted changes, with addition to level 1, are: filling in forms, instantiating page templates, and signing.Access permissions level 1 which indicates that no changes are permitted except for DSS and DTS creation.Unspecified access permissions value which makes signature "approval" rather than "certification". -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessPermissions
Returns the enum constant of this type with the specified name.static AccessPermissions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Unspecified access permissions value which makes signature "approval" rather than "certification". -
NO_CHANGES_PERMITTED
Access permissions level 1 which indicates that no changes are permitted except for DSS and DTS creation. -
FORM_FIELDS_MODIFICATION
Access permissions level 2 which indicates that permitted changes, with addition to level 1, are: filling in forms, instantiating page templates, and signing. -
ANNOTATION_MODIFICATION
Access permissions level 3 which indicates that permitted changes, with addition to level 2, are: annotation creation, deletion and modification.
-
-
Method Details
-
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
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
-