C# Class Org.BouncyCastle.Crypto.Modes.EaxBlockCipher

Inheritance: IAeadBlockCipher
ファイルを表示 Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
DoFinal ( byte outBytes, int outOff ) : int
EaxBlockCipher ( IBlockCipher cipher ) : System
GetBlockSize ( ) : int
GetMac ( ) : byte[]
GetOutputSize ( int len ) : int
GetUpdateOutputSize ( int len ) : int
Init ( bool forEncryption, ICipherParameters parameters ) : void
ProcessAadByte ( byte input ) : void
ProcessAadBytes ( byte inBytes, int inOff, int len ) : void
ProcessByte ( byte input, byte outBytes, int outOff ) : int
ProcessBytes ( byte inBytes, int inOff, int len, byte outBytes, int outOff ) : int
Reset ( ) : void

Private Methods

Method Description
CalculateMac ( ) : void
InitCipher ( ) : void
Process ( byte b, byte outBytes, int outOff ) : int
Reset ( bool clearMac ) : void
VerifyMac ( byte mac, int off ) : bool

Method Details

DoFinal() public method

public DoFinal ( byte outBytes, int outOff ) : int
outBytes byte
outOff int
return int

EaxBlockCipher() public method

public EaxBlockCipher ( IBlockCipher cipher ) : System
cipher IBlockCipher
return System

GetBlockSize() public method

public GetBlockSize ( ) : int
return int

GetMac() public method

public GetMac ( ) : byte[]
return byte[]

GetOutputSize() public method

public GetOutputSize ( int len ) : int
len int
return int

GetUpdateOutputSize() public method

public GetUpdateOutputSize ( int len ) : int
len int
return int

Init() public method

public Init ( bool forEncryption, ICipherParameters parameters ) : void
forEncryption bool
parameters ICipherParameters
return void

ProcessAadByte() public method

public ProcessAadByte ( byte input ) : void
input byte
return void

ProcessAadBytes() public method

public ProcessAadBytes ( byte inBytes, int inOff, int len ) : void
inBytes byte
inOff int
len int
return void

ProcessByte() public method

public ProcessByte ( byte input, byte outBytes, int outOff ) : int
input byte
outBytes byte
outOff int
return int

ProcessBytes() public method

public ProcessBytes ( byte inBytes, int inOff, int len, byte outBytes, int outOff ) : int
inBytes byte
inOff int
len int
outBytes byte
outOff int
return int

Reset() public method

public Reset ( ) : void
return void