public class PubSecHandlerUsingAes256 extends PubSecHandlerUsingAes128
extra, md5, mkey, nextObjectKey, nextObjectKeySize| Constructor and Description |
|---|
PubSecHandlerUsingAes256(PdfDictionary encryptionDictionary,
Certificate[] certs,
int[] permissions,
boolean encryptMetadata,
boolean embeddedFilesOnly) |
PubSecHandlerUsingAes256(PdfDictionary encryptionDictionary,
Key certificateKey,
Certificate certificate,
String certificateKeyProvider,
IExternalDecryptionProcess externalDecryptionProcess,
boolean encryptMetadata) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDigestAlgorithm() |
protected void |
initKey(byte[] globalKey,
int keyLength) |
protected void |
initMd5MessageDigest()
Init md5 message digest.
|
void |
setHashKeyForNextObject(int objNumber,
int objGeneration)
Note: For most of the supported security handlers algorithm to calculate encryption key for particular object
is the same.
|
protected void |
setPubSecSpecificHandlerDicEntries(PdfDictionary encryptionDictionary,
boolean encryptMetadata,
boolean embeddedFilesOnly) |
getDecryptor, getEncryptionStreamaddAllRecipients, computeGlobalKey, computeGlobalKeyOnReading, createRecipientsArray, initKeyAndFillDictionary, initKeyAndReadDictionarygetMkey, getNextObjectKeypublic PubSecHandlerUsingAes256(PdfDictionary encryptionDictionary, Certificate[] certs, int[] permissions, boolean encryptMetadata, boolean embeddedFilesOnly)
public PubSecHandlerUsingAes256(PdfDictionary encryptionDictionary, Key certificateKey, Certificate certificate, String certificateKeyProvider, IExternalDecryptionProcess externalDecryptionProcess, boolean encryptMetadata)
public void setHashKeyForNextObject(int objNumber,
int objGeneration)
SecurityHandlersetHashKeyForNextObject in class PubSecHandlerUsingAes128objNumber - number of particular object for encryptionobjGeneration - generation of particular object for encryptionprotected String getDigestAlgorithm()
getDigestAlgorithm in class PubSecHandlerUsingAes128protected void initKey(byte[] globalKey,
int keyLength)
initKey in class PubSecHandlerUsingAes128protected void setPubSecSpecificHandlerDicEntries(PdfDictionary encryptionDictionary, boolean encryptMetadata, boolean embeddedFilesOnly)
setPubSecSpecificHandlerDicEntries in class PubSecHandlerUsingAes128protected void initMd5MessageDigest()
initMd5MessageDigest in class SecurityHandlerCopyright © 1998–2025 Apryse Group NV. All rights reserved.