byte[] |
StandardSecurityHandler.computeEncryptedKey(byte[] password,
byte[] o,
int permissions,
byte[] id,
int encRevision,
int length,
boolean encryptMetadata) |
Compute the encryption key.
|
byte[] |
StandardSecurityHandler.computeOwnerPassword(byte[] ownerPassword,
byte[] userPassword,
int encRevision,
int length) |
Compute the owner entry in the encryption dictionary.
|
byte[] |
StandardSecurityHandler.computeUserPassword(byte[] password,
byte[] o,
int permissions,
byte[] id,
int encRevision,
int length,
boolean encryptMetadata) |
This will compute the user password hash.
|
void |
SecurityHandler.decryptArray(COSArray array,
long objNum,
long genNum) |
This will decrypt an array.
|
void |
PublicKeySecurityHandler.decryptDocument(PDDocument doc,
DecryptionMaterial decryptionMaterial) |
Decrypt the document.
|
abstract void |
SecurityHandler.decryptDocument(PDDocument doc,
DecryptionMaterial mat) |
Prepare the document for decryption.
|
void |
StandardSecurityHandler.decryptDocument(PDDocument doc,
DecryptionMaterial decryptionMaterial) |
Decrypt the document.
|
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 |
SecurityHandler.encryptData(long objectNumber,
long genNumber,
java.io.InputStream data,
java.io.OutputStream output) |
Deprecated.
|
void |
SecurityHandler.encryptData(long objectNumber,
long genNumber,
java.io.InputStream data,
java.io.OutputStream output,
boolean decrypt) |
Encrypt a set of data.
|
void |
SecurityHandler.encryptStream(COSStream stream,
long objNum,
long genNum) |
This will encrypt a stream, but not the dictionary as the dictionary is encrypted by visitFromString() in
COSWriter and we don't want to encrypt it twice.
|
void |
SecurityHandler.encryptString(COSString string,
long objNum,
long genNum) |
This will encrypt a string.
|
byte[] |
StandardSecurityHandler.getUserPassword(byte[] ownerPassword,
byte[] o,
int encRevision,
int length) |
Get the user password based on the owner password.
|
boolean |
StandardSecurityHandler.isOwnerPassword(byte[] ownerPassword,
byte[] u,
byte[] o,
int permissions,
byte[] id,
int encRevision,
int length,
boolean encryptMetadata) |
Check for owner password.
|
boolean |
StandardSecurityHandler.isOwnerPassword(java.lang.String password,
byte[] u,
byte[] o,
int permissions,
byte[] id,
int encRevision,
int length,
boolean encryptMetadata) |
Check for owner password.
|
boolean |
StandardSecurityHandler.isUserPassword(byte[] password,
byte[] u,
byte[] o,
int permissions,
byte[] id,
int encRevision,
int length,
boolean encryptMetadata) |
Check if a plaintext password is the user password.
|
boolean |
StandardSecurityHandler.isUserPassword(java.lang.String password,
byte[] u,
byte[] o,
int permissions,
byte[] id,
int encRevision,
int length,
boolean encryptMetadata) |
Check if a plaintext password is the user password.
|
void |
PublicKeySecurityHandler.prepareDocumentForEncryption(PDDocument doc) |
Prepare the document for encryption.
|
abstract void |
SecurityHandler.prepareDocumentForEncryption(PDDocument doc) |
Prepare the document for encryption.
|
void |
StandardSecurityHandler.prepareDocumentForEncryption(PDDocument doc) |
Prepare document for encryption.
|
void |
PublicKeySecurityHandler.prepareForDecryption(PDEncryptionDictionary encDictionary,
COSArray documentIDArray,
DecryptionMaterial decryptionMaterial) |
Prepares everything to decrypt the document.
|
abstract void |
SecurityHandler.prepareForDecryption(PDEncryptionDictionary encDictionary,
COSArray documentIDArray,
DecryptionMaterial decryptionMaterial) |
Prepares everything to decrypt the document.
|
void |
StandardSecurityHandler.prepareForDecryption(PDEncryptionDictionary encDictionary,
COSArray documentIDArray,
DecryptionMaterial decryptionMaterial) |
Prepares everything to decrypt the document.
|
protected void |
SecurityHandler.proceedDecryption() |
This method must be called by an implementation of this class to really proceed to decryption.
|