Table of Contents

Class CryptoUtilFactory

Namespace
Amazon.Util
Assembly
AWSSDK.Core.dll
public static class CryptoUtilFactory
Inheritance
CryptoUtilFactory
Inherited Members

Properties

CryptoInstance

public static ICryptoUtil CryptoInstance { get; }

Property Value

ICryptoUtil

Methods

GetChecksumBase64Length(CoreChecksumAlgorithm)

Returns the length of the base64 encoded checksum of the specifed hashing algorithm

public static int GetChecksumBase64Length(CoreChecksumAlgorithm algorithm)

Parameters

algorithm CoreChecksumAlgorithm

Hashing algorithm

Returns

int

Length of the base64 encoded checksum

GetChecksumInstance(CoreChecksumAlgorithm)

Returns a new instance of the specified hashing algorithm

public static HashAlgorithm GetChecksumInstance(CoreChecksumAlgorithm algorithm)

Parameters

algorithm CoreChecksumAlgorithm

Hashing algorithm to instantiate

Returns

HashAlgorithm

New instance of the given algorithm