public class PubSecHandlerUsingStandard40 extends PubKeySecurityHandler
extra, md5, mkey, nextObjectKey, nextObjectKeySize| Constructor and Description |
|---|
PubSecHandlerUsingStandard40(PdfDictionary encryptionDictionary,
Certificate[] certs,
int[] permissions,
boolean encryptMetadata,
boolean embeddedFilesOnly) |
PubSecHandlerUsingStandard40(PdfDictionary encryptionDictionary,
Key certificateKey,
Certificate certificate,
String certificateKeyProvider,
IExternalDecryptionProcess externalDecryptionProcess,
boolean encryptMetadata) |
| Modifier and Type | Method and Description |
|---|---|
IDecryptor |
getDecryptor()
Gets decryptor object.
|
protected String |
getDigestAlgorithm() |
OutputStreamEncryption |
getEncryptionStream(OutputStream os)
Gets a stream wrapper, responsible for encryption.
|
protected void |
initKey(byte[] globalKey,
int keyLength) |
protected void |
setPubSecSpecificHandlerDicEntries(PdfDictionary encryptionDictionary,
boolean encryptMetadata,
boolean embeddedFilesOnly) |
addAllRecipients, computeGlobalKey, computeGlobalKeyOnReading, createRecipientsArray, initKeyAndFillDictionary, initKeyAndReadDictionarygetMkey, getNextObjectKey, initMd5MessageDigest, setHashKeyForNextObjectpublic PubSecHandlerUsingStandard40(PdfDictionary encryptionDictionary, Certificate[] certs, int[] permissions, boolean encryptMetadata, boolean embeddedFilesOnly)
public PubSecHandlerUsingStandard40(PdfDictionary encryptionDictionary, Key certificateKey, Certificate certificate, String certificateKeyProvider, IExternalDecryptionProcess externalDecryptionProcess, boolean encryptMetadata)
public OutputStreamEncryption getEncryptionStream(OutputStream os)
SecurityHandlergetEncryptionStream in class SecurityHandleros - OutputStream to be wrappedOutputStreamEncryption, responsible for encryption.public IDecryptor getDecryptor()
SecurityHandlergetDecryptor in class SecurityHandlerIDecryptorprotected String getDigestAlgorithm()
getDigestAlgorithm in class PubKeySecurityHandlerprotected void initKey(byte[] globalKey,
int keyLength)
initKey in class PubKeySecurityHandlerprotected void setPubSecSpecificHandlerDicEntries(PdfDictionary encryptionDictionary, boolean encryptMetadata, boolean embeddedFilesOnly)
setPubSecSpecificHandlerDicEntries in class PubKeySecurityHandlerCopyright © 1998–2025 Apryse Group NV. All rights reserved.