Uses of Class
org.apache.pdfbox.pdmodel.encryption.AccessPermission
-
Packages that use AccessPermission Package Description org.apache.pdfbox.pdmodel The PDModel package represents a high level API for creating and manipulating PDF documents.org.apache.pdfbox.pdmodel.encryption The encryption package will handle the PDF document security handlers and the functionality of pluggable security handlers. -
-
Uses of AccessPermission in org.apache.pdfbox.pdmodel
Methods in org.apache.pdfbox.pdmodel that return AccessPermission Modifier and Type Method Description AccessPermission
PDDocument. getCurrentAccessPermission()
Returns the access permissions granted when the document was decrypted. -
Uses of AccessPermission in org.apache.pdfbox.pdmodel.encryption
Fields in org.apache.pdfbox.pdmodel.encryption declared as AccessPermission Modifier and Type Field Description protected AccessPermission
SecurityHandler. currentAccessPermission
The access permission granted to the current user for the document.Methods in org.apache.pdfbox.pdmodel.encryption that return AccessPermission Modifier and Type Method Description AccessPermission
SecurityHandler. getCurrentAccessPermission()
Returns the access permissions that were computed during document decryption.static AccessPermission
AccessPermission. getOwnerAccessPermission()
returns an access permission object for a document owner.AccessPermission
PublicKeyRecipient. getPermission()
Returns the access permission granted to the recipient.AccessPermission
StandardProtectionPolicy. getPermissions()
Getter of the property permissions.Methods in org.apache.pdfbox.pdmodel.encryption with parameters of type AccessPermission Modifier and Type Method Description void
PublicKeyRecipient. setPermission(AccessPermission permissions)
Set the access permission granted to the recipient.void
StandardProtectionPolicy. setPermissions(AccessPermission perms)
Setter of the property permissions.Constructors in org.apache.pdfbox.pdmodel.encryption with parameters of type AccessPermission Constructor Description StandardProtectionPolicy(java.lang.String ownerPass, java.lang.String userPass, AccessPermission perms)
Creates an new instance of the standard protection policy in order to protect a PDF document with passwords.
-