Package org.apache.pdfbox.pdmodel.encryption
The encryption package will handle the PDF document security handlers and the functionality of pluggable security handlers.
-
Class Summary Class Description AccessPermission This class represents the access permissions to a document.DecryptionMaterial This class represents data required to decrypt PDF documents.MessageDigests Utility class for creating MessageDigest instances.PDCryptFilterDictionary This class is a specialized view of the crypt filter dictionary of a PDF document.PDEncryption This class is a specialized view of the encryption dictionary of a PDF document.PDEncryptionDictionary Deprecated. UsePDEncryption
insteadProtectionPolicy This class represents the protection policy to apply to a document.PublicKeyDecryptionMaterial This class holds necessary information to decrypt a PDF document protected by the public key security handler.PublicKeyProtectionPolicy The protection policy to use to protect a document with the public key security handler.PublicKeyRecipient Represents a recipient in the public key protection policy.PublicKeySecurityHandler This class implements the public key security handler described in the PDF specification.RC4Cipher An implementation of the RC4 stream cipher.SaslPrep Copied from https://github.com/tombentley/saslprep/blob/master/src/main/java/SaslPrep.java on 30.5.2019, commit 2e30daa.SecurityHandler A security handler as described in the PDF specifications.SecurityHandlerFactory Manages security handlers for the application.SecurityProvider Singleton which provides a security provider.StandardDecryptionMaterial Represents the necessary information to decrypt a document protected by the standard security handler (password protection).StandardProtectionPolicy The protection policy to add to a document for password-based protection.StandardSecurityHandler The standard security handler. -
Exception Summary Exception Description InvalidPasswordException Indicates that an invalid password was supplied.