Enum AccessPermissions

java.lang.Object
java.lang.Enum<AccessPermissions>
com.itextpdf.signatures.AccessPermissions
All Implemented Interfaces:
Serializable, Comparable<AccessPermissions>, java.lang.constant.Constable

public enum AccessPermissions extends Enum<AccessPermissions>
Access permissions value to be set to certification signature as a part of DocMDP configuration.
  • Enum Constant Details

    • 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 Details

    • values

      public static AccessPermissions[] 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

      public static AccessPermissions 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 name
      NullPointerException - if the argument is null