Package com.pd4ml.pdf.cos.security
-
Class Summary Class Description PdfEncryptor Encrypts an in-memoryCOSDocumentfor output, using the PDF Standard security handler -- the write-side counterpart ofStandardSecurityHandler(a reader, which deliberately doesn't expose a forward/encrypting direction).PdfEncryptor.Options StandardSecurityHandler Implements the PDF Standard security handler (ISO 32000-1 §7.6.3 / ISO 32000-2 §7.6.4): given a document's/Encryptdictionary, its first/IDelement, and a candidate password, derives the file encryption key and can then decrypt any string or stream belonging to an indirect object in that document. -
Enum Summary Enum Description PdfEncryptor.Algorithm -
Exception Summary Exception Description COSSecurityException Raised when a PDF's encryption dictionary names a security handler this API doesn't implement (anything other than the Standard security handler), or when the supplied password is wrong (neither the user nor the owner password could be authenticated).