private byte[] |
StandardDecrypter.calculateUValue(byte[] generalKey,
byte[] firstDocIdValue,
int revision) |
Calculate what the U value should consist of given a particular key and
document configuration.
|
private byte[] |
StandardDecrypter.checkOwnerPassword(byte[] ownerPassword,
byte[] firstDocIdValue,
int keyBitLength,
int revision,
byte[] oValue,
byte[] uValue,
int pValue,
boolean encryptMetadata) |
Check to see whether a given password is the owner password.
|
private byte[] |
StandardDecrypter.checkUserPassword(byte[] userPassword,
byte[] firstDocIdValue,
int keyBitLength,
int revision,
byte[] oValue,
byte[] uValue,
int pValue,
boolean encryptMetadata) |
Check to see whether a provided user password is correct with respect
to an Encrypt dict configuration.
|
private static PDFDecrypter |
PDFDecrypterFactory.createCryptFilterDecrypter(PDFObject encryptDict,
PDFObject documentId,
PDFPassword password,
int v) |
Create a decrypter working from a crypt filter dictionary, as in
version 4 encryption
|
static PDFDecrypter |
PDFDecrypterFactory.createDecryptor(PDFObject encryptDict,
PDFObject documentId,
PDFPassword password) |
Create a decryptor for a given encryption dictionary.
|
private static PDFDecrypter |
PDFDecrypterFactory.createStandardDecrypter(PDFObject encryptDict,
PDFObject documentId,
PDFPassword password,
java.lang.Integer keyLength,
boolean encryptMetadata,
StandardDecrypter.EncryptionAlgorithm encryptionAlgorithm) |
Create a standard single-algorithm AES or RC4 decrypter.
|