Enum SignaturePermissions
- java.lang.Object
-
- java.lang.Enum<SignaturePermissions>
-
- com.ironsoftware.ironpdf.signature.SignaturePermissions
-
- All Implemented Interfaces:
Serializable
,Comparable<SignaturePermissions>
public enum SignaturePermissions extends Enum<SignaturePermissions>
Permission options for a PDF document which is digitally signed
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FormFillingAllowed
Changing form field values is allowedFormFillingAndAnnotationsAllowed
Changing form field values and modifying annotations are allowedNoChangesAllowed
No changes are allowed
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SignaturePermissions
valueOf(String name)
Returns the enum constant of this type with the specified name.static SignaturePermissions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NoChangesAllowed
public static final SignaturePermissions NoChangesAllowed
No changes are allowed
-
FormFillingAllowed
public static final SignaturePermissions FormFillingAllowed
Changing form field values is allowed
-
FormFillingAndAnnotationsAllowed
public static final SignaturePermissions FormFillingAndAnnotationsAllowed
Changing form field values and modifying annotations are allowed
-
-
Method Detail
-
values
public static SignaturePermissions[] 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 (SignaturePermissions c : SignaturePermissions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SignaturePermissions 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 nameNullPointerException
- if the argument is null
-
-