Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.pdfbox.exceptions.CryptographyException

Packages that use CryptographyException
org.pdfbox.encryption | These classes deal with encryption algorithms that are used in the PDF Document.
org.pdfbox.examples.fdf | These are examples that use the FDF features of a PDF document.
org.pdfbox.pdmodel | The PDModel package represents a high level API for creating and manipulating PDF documents.

Uses of CryptographyException in org.pdfbox.encryption

Methods in org.pdfbox.encryption that throw CryptographyException
`void` | `PDFEncryption.encryptData(long objectNumber, long genNumber, byte[] key, InputStream data, OutputStream output)` This will encrypt a piece of data.
`byte[]` | `PDFEncryption.getUserPassword(byte[] ownerPassword, byte[] o, int revision, long length)` This will get the user password from the owner password and the documents o value.
`boolean` | `PDFEncryption.isOwnerPassword(byte[] ownerPassword, byte[] u, byte[] o, int permissions, byte[] id, int revision, int length)` This will tell if this is the owner password or not.
`boolean` | `PDFEncryption.isUserPassword(byte[] password, byte[] u, byte[] o, int permissions, byte[] id, int revision, int length)` This will tell if this is a valid user password.
`byte[]` | `PDFEncryption.computeUserPassword(byte[] password, byte[] o, int permissions, byte[] id, int revision, int length)` This will compute the user password hash.
`byte[]` | `PDFEncryption.computeEncryptedKey(byte[] password, byte[] o, int permissions, byte[] id, int revision, int length)` This will compute the encrypted key.
`byte[]` | `PDFEncryption.computeOwnerPassword(byte[] ownerPassword, byte[] userPassword, int revision, int length)` This algorithm is taked from PDF Reference 1.4 Algorithm 3.3 Page 79.
`void` | `DocumentEncryption.encryptDocument(String ownerPassword, String userPassword)` This will encrypt the given document, given the owner password and user password.
`void` | `DocumentEncryption.decryptDocument(String password)` This will decrypt the document.

Uses of CryptographyException in org.pdfbox.examples.fdf

Methods in org.pdfbox.examples.fdf that throw CryptographyException
`static void` | `PrintFields.main(String[] args)` This will read a PDF file and print out the form elements.

Uses of CryptographyException in org.pdfbox.pdmodel

Methods in org.pdfbox.pdmodel that throw CryptographyException
`boolean` | `PDDocument.isUserPassword(String password)` This will determine if this is the user password.
`boolean` | `PDDocument.isOwnerPassword(String password)` This will determine if this is the owner password.
`void` | `PDDocument.decrypt(String password)` This will decrypt a document.
`void` | `PDDocument.encrypt(String ownerPassword, String userPassword)` This will encrypt a document.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES