Table of Contents

Class HashingWrapper

Namespace
Amazon.Runtime.Internal.Util
Assembly
AWSSDK.Core.dll
public class HashingWrapper : IHashingWrapper, IDisposable
Inheritance
HashingWrapper
Implements
Derived
Inherited Members

Constructors

HashingWrapper(HashAlgorithm)

public HashingWrapper(HashAlgorithm algorithm)

Parameters

algorithm HashAlgorithm

HashingWrapper(string)

public HashingWrapper(string algorithmName)

Parameters

algorithmName string

Methods

AppendBlock(byte[])

public void AppendBlock(byte[] buffer)

Parameters

buffer byte[]

AppendBlock(byte[], int, int)

public void AppendBlock(byte[] buffer, int offset, int count)

Parameters

buffer byte[]
offset int
count int

AppendLastBlock(byte[])

public byte[] AppendLastBlock(byte[] buffer)

Parameters

buffer byte[]

Returns

byte[]

AppendLastBlock(byte[], int, int)

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

Parameters

buffer byte[]
offset int
count int

Returns

byte[]

Clear()

public void Clear()

ComputeHash(byte[])

public byte[] ComputeHash(byte[] buffer)

Parameters

buffer byte[]

Returns

byte[]

ComputeHash(Stream)

public byte[] ComputeHash(Stream stream)

Parameters

stream Stream

Returns

byte[]

Dispose()

Disposes of all managed and unmanaged resources.

public void Dispose()

Dispose(bool)

Implements the Dispose pattern

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

Whether this object is being disposed via a call to Dispose or garbage collected.