Class
HashAlgorithmsManager

Central registry and factory for hash algorithms used in signature creation and validation by OID.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.DigitalSignatures

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public static class HashAlgorithmsManager

Inheritance: objectHashAlgorithmsManager

Methods

HasRegisteredHashAlgorithm(Oid)

Determines whether the HashAlgorithmsManager contains a definition of a hash algorithm for the specified OID.

Declaration

cs-api-definition
public static bool HasRegisteredHashAlgorithm(Oid oid)

Parameters

oid

Oid

The object identifier to check for registration.

Returns

bool

true if a hash algorithm is registered for the specified OID; otherwise, false.

RegisterHashAlgorithm(Oid, HashAlgorithm)

Registers a hash algorithm with the specified object identifier (OID).

Declaration

cs-api-definition
public static void RegisterHashAlgorithm(Oid oid, HashAlgorithm hashAlgorithm)

Parameters

oid

Oid

The object identifier that uniquely identifies the hash algorithm.

hashAlgorithm

HashAlgorithm

The hash algorithm implementation to register.

UnregisterHashAlgorithm(Oid)

Unregisters a hash algorithm for the specified object identifier (OID).

Declaration

cs-api-definition
public static void UnregisterHashAlgorithm(Oid oid)

Parameters

oid

Oid

The object identifier of the hash algorithm to unregister.