Table of Contents

Class EaxBlockCipher

Namespace
Enterprises.Org.BouncyCastle.Crypto.Modes
Assembly
Enterprises.BouncyCastle.Crypto.dll
public class EaxBlockCipher : IAeadBlockCipher
Inheritance
EaxBlockCipher
Implements
Inherited Members

Constructors

EaxBlockCipher(IBlockCipher)

public EaxBlockCipher(IBlockCipher cipher)

Parameters

cipher IBlockCipher

Properties

AlgorithmName

public virtual string AlgorithmName { get; }

Property Value

string

Methods

DoFinal(byte[], int)

public virtual int DoFinal(byte[] outBytes, int outOff)

Parameters

outBytes byte[]
outOff int

Returns

int

GetBlockSize()

public virtual int GetBlockSize()

Returns

int

GetMac()

public virtual byte[] GetMac()

Returns

byte[]

GetOutputSize(int)

public virtual int GetOutputSize(int len)

Parameters

len int

Returns

int

GetUnderlyingCipher()

public virtual IBlockCipher GetUnderlyingCipher()

Returns

IBlockCipher

GetUpdateOutputSize(int)

public virtual int GetUpdateOutputSize(int len)

Parameters

len int

Returns

int

Init(bool, ICipherParameters)

public virtual void Init(bool forEncryption, ICipherParameters parameters)

Parameters

forEncryption bool
parameters ICipherParameters

ProcessAadByte(byte)

public virtual void ProcessAadByte(byte input)

Parameters

input byte

ProcessAadBytes(byte[], int, int)

public virtual void ProcessAadBytes(byte[] inBytes, int inOff, int len)

Parameters

inBytes byte[]
inOff int
len int

ProcessByte(byte, byte[], int)

public virtual int ProcessByte(byte input, byte[] outBytes, int outOff)

Parameters

input byte
outBytes byte[]
outOff int

Returns

int

ProcessBytes(byte[], int, int, byte[], int)

public virtual int ProcessBytes(byte[] inBytes, int inOff, int len, byte[] outBytes, int outOff)

Parameters

inBytes byte[]
inOff int
len int
outBytes byte[]
outOff int

Returns

int

Reset()

public virtual void Reset()