Table of Contents

Class StandardHandlerUsingAes128

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

Constructors

StandardHandlerUsingAes128(PdfDictionary, byte[], byte[], bool)

public StandardHandlerUsingAes128(PdfDictionary encryptionDictionary, byte[] password, byte[] documentId, bool encryptMetadata)

Parameters

encryptionDictionary PdfDictionary
password byte[]
documentId byte[]
encryptMetadata bool

StandardHandlerUsingAes128(PdfDictionary, byte[], byte[], int, bool, bool, byte[])

public StandardHandlerUsingAes128(PdfDictionary encryptionDictionary, byte[] userPassword, byte[] ownerPassword, int permissions, bool encryptMetadata, bool embeddedFilesOnly, byte[] documentId)

Parameters

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

Methods

GetDecryptor()

public override IDecryptor GetDecryptor()

Returns

IDecryptor

GetEncryptionStream(Stream)

public override OutputStreamEncryption GetEncryptionStream(Stream os)

Parameters

os Stream

Returns

OutputStreamEncryption

SetHashKeyForNextObject(int, int)

public override void SetHashKeyForNextObject(int objNumber, int objGeneration)

Parameters

objNumber int
objGeneration int

SetSpecificHandlerDicEntries(PdfDictionary, bool, bool)

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

Parameters

encryptionDictionary PdfDictionary
encryptMetadata bool
embeddedFilesOnly bool