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.
|
Modifier and Type | Method and Description |
---|---|
AccessPermission |
PDDocument.getCurrentAccessPermission()
Returns the access permissions granted when the document was decrypted.
|
Constructor and Description |
---|
PDDocument(COSDocument doc,
RandomAccessRead source,
AccessPermission permission)
Constructor that uses an existing document.
|
Modifier and Type | Method and 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()
Returns the access permissions
|
Modifier and Type | Method and Description |
---|---|
void |
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 permissions
|
Constructor and Description |
---|
StandardProtectionPolicy(String ownerPassword,
String userPassword,
AccessPermission permissions)
Creates an new instance of the standard protection policy
in order to protect a PDF document with passwords.
|
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.