Deprecated API

Contents

Deprecated Classes

DocumentEncryption
use the new security API instead.
PDEncryptionManager
Made deprecated by the new security layer of PDFBox.
PDFEncryption
use the new security layer instead
PDStandardEncryption
Made deprecated by the new security layer of PDFBox.

Deprecated Methods

org.pdfbox.pdmodel.PDDocument.isUserPassword(String)
org.pdfbox.pdmodel.PDDocument.isOwnerPassword(String)
org.pdfbox.pdmodel.PDDocument.wasDecryptedWithOwnerPassword()
use getCurrentAccessPermission instead
org.pdfbox.pdmodel.PDDocument.getOwnerPasswordForEncryption()
Do not rely on this method anymore.
org.pdfbox.pdmodel.PDDocument.getUserPasswordForEncryption()
Do not rely on this method anymore.
org.pdfbox.pdmodel.PDDocument.willEncryptWhenSaving()
Do not rely on this method anymore.
org.pdfbox.pdmodel.PDDocument.clearWillEncryptWhenSaving()
Do not rely on this method anymore.
org.pdfbox.pdmodel.PDDocument.getPageCount()
Use the getNumberOfPages method instead!
org.pdfbox.util.PDFTextStripper.getText(COSDocument)
org.pdfbox.util.PDFTextStripper.writeText(COSDocument,Writer)