Table of Contents

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 PdfDictionary
certs IX509Certificate[]
permissions int[]
encryptMetadata bool
embeddedFilesOnly bool

PubSecHandlerUsingAes256(PdfDictionary, IPrivateKey, IX509Certificate, bool)

public PubSecHandlerUsingAes256(PdfDictionary encryptionDictionary, IPrivateKey certificateKey, IX509Certificate certificate, bool encryptMetadata)

Parameters

encryptionDictionary PdfDictionary
certificateKey IPrivateKey
certificate IX509Certificate
encryptMetadata bool

Methods

GetDigestAlgorithm()

protected override string GetDigestAlgorithm()

Returns

string

InitKey(byte[], int)

protected override void InitKey(byte[] globalKey, int keyLength)

Parameters

globalKey byte[]
keyLength int

SetHashKeyForNextObject(int, int)

public override void SetHashKeyForNextObject(int objNumber, int objGeneration)

Parameters

objNumber int
objGeneration int

SetPubSecSpecificHandlerDicEntries(PdfDictionary, bool, bool)

protected override void SetPubSecSpecificHandlerDicEntries(PdfDictionary encryptionDictionary, bool encryptMetadata, bool embeddedFilesOnly)

Parameters

encryptionDictionary PdfDictionary
encryptMetadata bool
embeddedFilesOnly bool