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 | Description |
---|---|---|
void |
PDDocument.openProtection(DecryptionMaterial pm) |
Tries to decrypt the document in memory using the provided decryption material.
|
Modifier and Type | Class | Description |
---|---|---|
class |
PublicKeyDecryptionMaterial |
This class holds necessary information to decrypt a PDF document
protected by the public key security handler.
|
class |
StandardDecryptionMaterial |
Represents the necessary information to decrypt a document protected by
the standard security handler (password protection).
|
Modifier and Type | Method | Description |
---|---|---|
void |
PublicKeySecurityHandler.decryptDocument(PDDocument doc,
DecryptionMaterial decryptionMaterial) |
Decrypt the document.
|
abstract void |
SecurityHandler.decryptDocument(PDDocument doc,
DecryptionMaterial mat) |
Prepare the document for decryption.
|
void |
StandardSecurityHandler.decryptDocument(PDDocument doc,
DecryptionMaterial decryptionMaterial) |
Decrypt the document.
|
void |
PublicKeySecurityHandler.prepareForDecryption(PDEncryptionDictionary encDictionary,
COSArray documentIDArray,
DecryptionMaterial decryptionMaterial) |
Prepares everything to decrypt the document.
|
abstract void |
SecurityHandler.prepareForDecryption(PDEncryptionDictionary encDictionary,
COSArray documentIDArray,
DecryptionMaterial decryptionMaterial) |
Prepares everything to decrypt the document.
|
void |
StandardSecurityHandler.prepareForDecryption(PDEncryptionDictionary encDictionary,
COSArray documentIDArray,
DecryptionMaterial decryptionMaterial) |
Prepares everything to decrypt the document.
|