New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public static class HashAlgorithmsManager

Inheritance: objectHashAlgorithmsManager

Methods

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

C#
public static bool HasRegisteredHashAlgorithm(Oid oid)
Parameters:oidOid

The object identifier to check for registration.

Returns:

bool

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

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

C#
public static void RegisterHashAlgorithm(Oid oid, HashAlgorithm hashAlgorithm)
Parameters:oidOid

The object identifier that uniquely identifies the hash algorithm.

hashAlgorithmHashAlgorithm

The hash algorithm implementation to register.

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

C#
public static void UnregisterHashAlgorithm(Oid oid)
Parameters:oidOid

The object identifier of the hash algorithm to unregister.