Click or drag to resize

SignedContentBlobHash Method

Hashes current blob in ToBeSignedData member, constructs algorithm identifier (usually, with "NoSign" suffix) and attaches hash value in the signature section.

Namespace:  SysadminsLV.PKI.Cryptography
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public void Hash(
	Oid2 hashAlgorithm
)

Parameters

hashAlgorithm
Type: System.Security.CryptographyOid2
Hash algorithm to use for hashing.
Exceptions
ExceptionCondition
ArgumentException Hash algorithm is not valid or cannot be mapped to respective signature algorithm.
ArgumentNullExceptionhashAlgorithm parameter is null.
See Also