C# Class Org.BouncyCastle.Crypto.Macs.HMac

Inheritance: IMac
Mostrar archivo Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
BlockUpdate ( byte input, int inOff, int len ) : void
DoFinal ( byte output, int outOff ) : int
GetMacSize ( ) : int
GetUnderlyingDigest ( ) : IDigest
HMac ( IDigest digest ) : System
Init ( ICipherParameters parameters ) : void
Reset ( ) : void
Update ( byte input ) : void

Private Methods

Method Description
XorPad ( byte pad, int len, byte n ) : void

Method Details

BlockUpdate() public method

public BlockUpdate ( byte input, int inOff, int len ) : void
input byte
inOff int
len int
return void

DoFinal() public method

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

GetMacSize() public method

public GetMacSize ( ) : int
return int

GetUnderlyingDigest() public method

public GetUnderlyingDigest ( ) : IDigest
return IDigest

HMac() public method

public HMac ( IDigest digest ) : System
digest IDigest
return System

Init() public method

public Init ( ICipherParameters parameters ) : void
parameters ICipherParameters
return void

Reset() public method

public Reset ( ) : void
return void

Update() public method

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