Enum Class PdfSigner.ACCESS_PERMISSION

java.lang.Object
java.lang.Enum<PdfSigner.ACCESS_PERMISSION>
org.jpedal.tools.PdfSigner.ACCESS_PERMISSION
All Implemented Interfaces:
Serializable, Comparable<PdfSigner.ACCESS_PERMISSION>, Constable
Enclosing class:
PdfSigner

public static enum PdfSigner.ACCESS_PERMISSION extends Enum<PdfSigner.ACCESS_PERMISSION>
Document Access Permissions (As specified in PDF 12.8.2.2.2 - Table 257)

The default value is P1.

  • Enum Constant Details

    • P1

      public static final PdfSigner.ACCESS_PERMISSION P1
      No changes Permitted; any change to the document invalidates the signature
    • P2

      public static final PdfSigner.ACCESS_PERMISSION P2
      Changes permitted: filling in forms, instantiating page templates, and signing; other changes invalidate the signature
    • P3

      public static final PdfSigner.ACCESS_PERMISSION P3
      Changes permitted: annotation creation, deletion, and modification, and all changes permitted by P2; other changes invalidate the signature
  • Method Details

    • values

      public static PdfSigner.ACCESS_PERMISSION[] 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

      public static PdfSigner.ACCESS_PERMISSION valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PdfSigner.ACCESS_PERMISSION>