| 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 | 
|---|---|
| void | PDDocument. openProtection(DecryptionMaterial pm)Tries to decrypt the document in memory using the provided decryption material. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | PublicKeyDecryptionMaterialThis class holds necessary information to decrypt a PDF document
 protected by the public key security handler. | 
| class  | StandardDecryptionMaterialRepresents the necessary information to decrypt a document protected by
 the standard security handler (password protection). | 
| Modifier and Type | Method and Description | 
|---|---|
| void | StandardSecurityHandler. decryptDocument(PDDocument doc,
               DecryptionMaterial decryptionMaterial)Decrypt the document. | 
| abstract void | SecurityHandler. decryptDocument(PDDocument doc,
               DecryptionMaterial mat)Prepare the document for decryption. | 
| void | PublicKeySecurityHandler. decryptDocument(PDDocument doc,
               DecryptionMaterial decryptionMaterial)Decrypt the document. | 
| void | StandardSecurityHandler. 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 | PublicKeySecurityHandler. prepareForDecryption(PDEncryptionDictionary encDictionary,
                    COSArray documentIDArray,
                    DecryptionMaterial decryptionMaterial)Prepares everything to decrypt the document. | 
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.