Table of Contents

Class StandardHandlerUsingAes256

Namespace
iText.Kernel.Crypto.Securityhandler
Assembly
itext.kernel.dll
public class StandardHandlerUsingAes256 : StandardSecurityHandler
Inheritance
StandardHandlerUsingAes256
Inherited Members

Constructors

StandardHandlerUsingAes256(PdfDictionary, byte[])

public StandardHandlerUsingAes256(PdfDictionary encryptionDictionary, byte[] password)

Parameters

encryptionDictionary PdfDictionary
password byte[]

StandardHandlerUsingAes256(PdfDictionary, byte[], byte[], int, bool, bool, PdfVersion)

public StandardHandlerUsingAes256(PdfDictionary encryptionDictionary, byte[] userPassword, byte[] ownerPassword, int permissions, bool encryptMetadata, bool embeddedFilesOnly, PdfVersion version)

Parameters

encryptionDictionary PdfDictionary
userPassword byte[]
ownerPassword byte[]
permissions int
encryptMetadata bool
embeddedFilesOnly bool
version PdfVersion

Fields

encryptMetadata

protected bool encryptMetadata

Field Value

bool

Methods

GetDecryptor()

public override IDecryptor GetDecryptor()

Returns

IDecryptor

GetEncryptionStream(Stream)

public override OutputStreamEncryption GetEncryptionStream(Stream os)

Parameters

os Stream

Returns

OutputStreamEncryption

IsEncryptMetadata()

public virtual bool IsEncryptMetadata()

Returns

bool

SetHashKeyForNextObject(int, int)

public override void SetHashKeyForNextObject(int objNumber, int objGeneration)

Parameters

objNumber int
objGeneration int