Class PubSecHandlerUsingAes256
- Namespace
- iText.Kernel.Crypto.Securityhandler
- Assembly
- itext.kernel.dll
public class PubSecHandlerUsingAes256 : PubSecHandlerUsingAes128
- Inheritance
-
PubSecHandlerUsingAes256
- Inherited Members
Constructors
PubSecHandlerUsingAes256(PdfDictionary, IX509Certificate[], int[], bool, bool)
public PubSecHandlerUsingAes256(PdfDictionary encryptionDictionary, IX509Certificate[] certs, int[] permissions, bool encryptMetadata, bool embeddedFilesOnly)
Parameters
encryptionDictionary
PdfDictionarycerts
IX509Certificate[]permissions
int[]encryptMetadata
boolembeddedFilesOnly
bool
PubSecHandlerUsingAes256(PdfDictionary, IPrivateKey, IX509Certificate, bool)
public PubSecHandlerUsingAes256(PdfDictionary encryptionDictionary, IPrivateKey certificateKey, IX509Certificate certificate, bool encryptMetadata)
Parameters
encryptionDictionary
PdfDictionarycertificateKey
IPrivateKeycertificate
IX509CertificateencryptMetadata
bool
Methods
GetDigestAlgorithm()
protected override string GetDigestAlgorithm()
Returns
InitKey(byte[], int)
protected override void InitKey(byte[] globalKey, int keyLength)
Parameters
SetHashKeyForNextObject(int, int)
public override void SetHashKeyForNextObject(int objNumber, int objGeneration)
Parameters
SetPubSecSpecificHandlerDicEntries(PdfDictionary, bool, bool)
protected override void SetPubSecSpecificHandlerDicEntries(PdfDictionary encryptionDictionary, bool encryptMetadata, bool embeddedFilesOnly)
Parameters
encryptionDictionary
PdfDictionaryencryptMetadata
boolembeddedFilesOnly
bool