|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
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. |
org.pdfbox.pdmodel.encryption | The encryption package will handle the PDF document security handlers and the functionality of pluggable security handlers. |
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)
Deprecated. This will encrypt a piece of data. |
byte[] |
PDFEncryption.getUserPassword(byte[] ownerPassword,
byte[] o,
int revision,
long length)
Deprecated. 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)
Deprecated. 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)
Deprecated. 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)
Deprecated. This will compute the user password hash. |
byte[] |
PDFEncryption.computeEncryptedKey(byte[] password,
byte[] o,
int permissions,
byte[] id,
int revision,
int length)
Deprecated. This will compute the encrypted key. |
byte[] |
PDFEncryption.computeOwnerPassword(byte[] ownerPassword,
byte[] userPassword,
int revision,
int length)
Deprecated. This algorithm is taked from PDF Reference 1.4 Algorithm 3.3 Page 79. |
void |
DocumentEncryption.initForEncryption()
Deprecated. This will encrypt the given document, given the owner password and user password. |
void |
DocumentEncryption.decryptDocument(String password)
Deprecated. This will decrypt the document. |
void |
DocumentEncryption.decrypt(Object obj,
long objNum,
long genNum)
Deprecated. This will dispatch to the correct method. |
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)
Deprecated. |
boolean |
PDDocument.isOwnerPassword(String password)
Deprecated. |
void |
PDDocument.decrypt(String password)
This will decrypt a document. |
void |
PDDocument.encrypt(String ownerPassword,
String userPassword)
This will mark a document to be encrypted. |
void |
PDDocument.openProtection(DecryptionMaterial pm)
Tries to decrypt the document in memory using the provided decryption material. |
Uses of CryptographyException in org.pdfbox.pdmodel.encryption |
Methods in org.pdfbox.pdmodel.encryption that throw CryptographyException | |
void |
StandardSecurityHandler.decryptDocument(PDDocument doc,
DecryptionMaterial decryptionMaterial)
Decrypt the document. |
void |
StandardSecurityHandler.prepareDocumentForEncryption(PDDocument doc)
Prepare document for encryption. |
boolean |
StandardSecurityHandler.isOwnerPassword(byte[] ownerPassword,
byte[] u,
byte[] o,
int permissions,
byte[] id,
int encRevision,
int length)
Check for owner password. |
byte[] |
StandardSecurityHandler.getUserPassword(byte[] ownerPassword,
byte[] o,
int encRevision,
long length)
Get the user password based on the owner password. |
byte[] |
StandardSecurityHandler.computeEncryptedKey(byte[] password,
byte[] o,
int permissions,
byte[] id,
int encRevision,
int length)
Compute the encryption key. |
byte[] |
StandardSecurityHandler.computeUserPassword(byte[] password,
byte[] o,
int permissions,
byte[] id,
int encRevision,
int length)
This will compute the user password hash. |
byte[] |
StandardSecurityHandler.computeOwnerPassword(byte[] ownerPassword,
byte[] userPassword,
int encRevision,
int length)
Compute the owner entry in the encryption dictionary. |
boolean |
StandardSecurityHandler.isUserPassword(byte[] password,
byte[] u,
byte[] o,
int permissions,
byte[] id,
int encRevision,
int length)
Check if a plaintext password is the user password. |
abstract void |
SecurityHandler.prepareDocumentForEncryption(PDDocument doc)
Prepare the document for encryption. |
abstract void |
SecurityHandler.decryptDocument(PDDocument doc,
DecryptionMaterial mat)
Prepare the document for decryption. |
protected void |
SecurityHandler.proceedDecryption()
This method must be called by an implementation of this class to really proceed to decryption. |
void |
SecurityHandler.encryptData(long objectNumber,
long genNumber,
InputStream data,
OutputStream output)
Encrypt a set of data. |
void |
SecurityHandler.decryptStream(COSStream stream,
long objNum,
long genNum)
This will decrypt a stream. |
void |
SecurityHandler.decryptString(COSString string,
long objNum,
long genNum)
This will decrypt a string. |
void |
PublicKeySecurityHandler.decryptDocument(PDDocument doc,
DecryptionMaterial decryptionMaterial)
Decrypt the document. |
void |
PublicKeySecurityHandler.prepareDocumentForEncryption(PDDocument doc)
Prepare the document for encryption. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |