Uses of Class
org.apache.pdfbox.pdmodel.encryption.AccessPermission
Packages that use AccessPermission
Package
Description
The pdfparser package contains classes to parse PDF documents and objects within the document.
The PDModel package represents a high level API for creating and manipulating PDF documents.
The encryption package will handle the PDF document security handlers and the functionality of pluggable security handlers.
-
Uses of AccessPermission in org.apache.pdfbox.pdfparser
Methods in org.apache.pdfbox.pdfparser that return AccessPermissionModifier and TypeMethodDescriptionCOSParser.getAccessPermission()
This will get the AccessPermission. -
Uses of AccessPermission in org.apache.pdfbox.pdmodel
Methods in org.apache.pdfbox.pdmodel that return AccessPermissionModifier and TypeMethodDescriptionPDDocument.getCurrentAccessPermission()
Returns the access permissions granted when the document was decrypted.Constructors in org.apache.pdfbox.pdmodel with parameters of type AccessPermissionModifierConstructorDescriptionPDDocument
(COSDocument doc, RandomAccessRead source, AccessPermission permission) Constructor that uses an existing document. -
Uses of AccessPermission in org.apache.pdfbox.pdmodel.encryption
Methods in org.apache.pdfbox.pdmodel.encryption that return AccessPermissionModifier and TypeMethodDescriptionSecurityHandler.getCurrentAccessPermission()
Returns the access permissions that were computed during document decryption.static AccessPermission
AccessPermission.getOwnerAccessPermission()
returns an access permission object for a document owner.PublicKeyRecipient.getPermission()
Returns the access permission granted to the recipient.StandardProtectionPolicy.getPermissions()
Returns the access permissionsMethods in org.apache.pdfbox.pdmodel.encryption with parameters of type AccessPermissionModifier and TypeMethodDescriptionvoid
SecurityHandler.setCurrentAccessPermission
(AccessPermission currentAccessPermission) Sets the access permissions.void
PublicKeyRecipient.setPermission
(AccessPermission permissions) Set the access permission granted to the recipient.void
StandardProtectionPolicy.setPermissions
(AccessPermission permissions) Sets the access permissionsConstructors in org.apache.pdfbox.pdmodel.encryption with parameters of type AccessPermissionModifierConstructorDescriptionStandardProtectionPolicy
(String ownerPassword, String userPassword, AccessPermission permissions) Creates an new instance of the standard protection policy in order to protect a PDF document with passwords.