Table of Contents

Class AESCipherCBCnoPad

Namespace
iText.Kernel.Crypto
Assembly
itext.kernel.dll

Creates an AES Cipher with CBC and no padding.

public class AESCipherCBCnoPad
Inheritance
AESCipherCBCnoPad
Inherited Members

Constructors

AESCipherCBCnoPad(bool, byte[])

Creates a new instance of AESCipher with CBC and no padding

public AESCipherCBCnoPad(bool forEncryption, byte[] key)

Parameters

forEncryption bool

if true the cipher is initialised for encryption, if false for decryption

key byte[]

the key to be used in the cipher

AESCipherCBCnoPad(bool, byte[], byte[])

Creates a new instance of AESCipher with CBC and no padding

public AESCipherCBCnoPad(bool forEncryption, byte[] key, byte[] initVector)

Parameters

forEncryption bool

if true the cipher is initialised for encryption, if false for decryption

key byte[]

the key to be used in the cipher

initVector byte[]

initialization vector to be used in cipher

Methods

ProcessBlock(byte[], int, int)

Processes data block using created cipher.

public virtual byte[] ProcessBlock(byte[] inp, int inpOff, int inpLen)

Parameters

inp byte[]

Input data bytes

inpOff int

Input data offset

inpLen int

Input data length

Returns

byte[]

Processed bytes