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() |
protected String |
getDigestAlgorithm() |
OutputStreamEncryption |
getEncryptionStream(OutputStream os) |
protected void |
initKey(byte[] globalKey, int keyLength) |
protected void |
setPubSecSpecificHandlerDicEntries(PdfDictionary encryptionDictionary, boolean encryptMetadata, boolean embeddedFilesOnly) |
addAllRecipients, computeGlobalKey, computeGlobalKeyOnReading, createRecipientsArray, initKeyAndFillDictionary, initKeyAndReadDictionary
setHashKeyForNextObject
public 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)
getEncryptionStream
in class SecurityHandler
public IDecryptor getDecryptor()
getDecryptor
in class SecurityHandler
protected String getDigestAlgorithm()
getDigestAlgorithm
in class PubKeySecurityHandler
protected void initKey(byte[] globalKey, int keyLength)
initKey
in class PubKeySecurityHandler
protected void setPubSecSpecificHandlerDicEntries(PdfDictionary encryptionDictionary, boolean encryptMetadata, boolean embeddedFilesOnly)
setPubSecSpecificHandlerDicEntries
in class PubKeySecurityHandler
Copyright © 1998–2018 iText Group NV. All rights reserved.