PasswordPermissionsModel Data Type

Permissions for operating on the PDF document.

Properties
name data type description
permissionsPassword string The document's permissions password.
openPassword string The document's open password.
encryptType number An integer representing the type of encryption to use. Valid values are: 0-RC4 128, 1-AES 128, 2-RC4 40, 3-AES 256 (This is only available if the Java JVM provides unlimited strength encryption.)
Properties inherited from PermissionsModel
assembleDocumentAllowed boolean True of document assembly is allowed.
changeDocumentAllowed boolean True if changing the document is allowed.
extractTextAllowed boolean True if text extraction is allowed.
extractTextForAccessibilityAllowed boolean True if extracting text for accessibility is allowed.
fillFormFieldsAllowed boolean True if filling form fields is allowed.
modifyAnnotationsAllowed boolean True if modifying annotations is allowed.
printAllowed boolean True if printing is allowed.
printHighResolutionAllowed boolean True if printing in high resolution is allowed.

Example

{
  "permissionsPassword" : "...",
  "openPassword" : "...",
  "encryptType" : 12345,
  "assembleDocumentAllowed" : true,
  "changeDocumentAllowed" : true,
  "extractTextAllowed" : true,
  "extractTextForAccessibilityAllowed" : true,
  "fillFormFieldsAllowed" : true,
  "modifyAnnotationsAllowed" : true,
  "printAllowed" : true,
  "printHighResolutionAllowed" : true
}