C# Class Amazon.Runtime.Internal.Util.HashingWrapper

Inheritance: IHashingWrapper
Mostra file Open project: aws/aws-sdk-net

Public Methods

Method Description
AppendBlock ( byte buffer, int offset, int count ) : void
AppendLastBlock ( byte buffer, int offset, int count ) : byte[]
Clear ( ) : void
ComputeHash ( Stream stream ) : byte[]
ComputeHash ( byte buffer ) : byte[]

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Implements the Dispose pattern

Private Methods

Method Description
Init ( string algorithmName ) : void

Method Details

AppendBlock() public method

public AppendBlock ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

AppendLastBlock() public method

public AppendLastBlock ( byte buffer, int offset, int count ) : byte[]
buffer byte
offset int
count int
return byte[]

Clear() public method

public Clear ( ) : void
return void

ComputeHash() public method

public ComputeHash ( Stream stream ) : byte[]
stream Stream
return byte[]

ComputeHash() public method

public ComputeHash ( byte buffer ) : byte[]
buffer byte
return byte[]

Dispose() protected method

Implements the Dispose pattern
protected Dispose ( bool disposing ) : void
disposing bool Whether this object is being disposed via a call to Dispose /// or garbage collected.
return void