Package com.itextpdf.signatures
Enum AccessPermissions
- java.lang.Object
-
- java.lang.Enum<AccessPermissions>
-
- com.itextpdf.signatures.AccessPermissions
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AccessPermissions>
public enum AccessPermissions extends java.lang.Enum<AccessPermissions>
Access permissions value to be set to certification signature as a part of DocMDP configuration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOTATION_MODIFICATION
Access permissions level 3 which indicates that permitted changes, with addition to level 2, are: annotation creation, deletion and modification.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.NO_CHANGES_PERMITTED
Access permissions level 1 which indicates that no changes are permitted except for DSS and DTS creation.UNSPECIFIED
Unspecified access permissions value which makes signature "approval" rather than "certification".
-
Constructor Summary
Constructors Modifier Constructor Description private
AccessPermissions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AccessPermissions
valueOf(java.lang.String name)
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 Detail
-
UNSPECIFIED
public static final AccessPermissions UNSPECIFIED
Unspecified access permissions value which makes signature "approval" rather than "certification".
-
NO_CHANGES_PERMITTED
public static final AccessPermissions NO_CHANGES_PERMITTED
Access permissions level 1 which indicates that no changes are permitted except for DSS and DTS creation.
-
FORM_FIELDS_MODIFICATION
public static final AccessPermissions 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
public static final AccessPermissions ANNOTATION_MODIFICATION
Access permissions level 3 which indicates that permitted changes, with addition to level 2, are: annotation creation, deletion and modification.
-
-
Method Detail
-
values
public static AccessPermissions[] 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 (AccessPermissions c : AccessPermissions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessPermissions 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 namejava.lang.NullPointerException
- if the argument is null
-
-