Click or drag to resize

Oid2MapHashToSignatureOid Method

Converts hashing algorithm OID to appropriate OID from signature group. For example, translates sha1 hashing algorithm to sha1NoSign with the same OID value.

Namespace:  System.Security.Cryptography
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public static Oid2 MapHashToSignatureOid(
	Oid2 hashAlgorithm
)

Parameters

hashAlgorithm
Type: System.Security.CryptographyOid2
Hashing algorithm

Return Value

Type: Oid2
OID in signature group.
Exceptions
ExceptionCondition
ArgumentNullExceptionhashAlgorithm parameter is null.
ArgumentException Input OID doesn't belong to hash algorithm group or it cannot be translated to a respective
See Also