Click or drag to resize

TspMessageImprint Constructor

Initializes a new instance of TspMessageImprint from hash algorithm and data to hash.

Namespace:  SysadminsLV.PKI.Cryptography
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public TspMessageImprint(
	Oid hashAlgorithm,
	byte[] data
)

Parameters

hashAlgorithm
Type: System.Security.CryptographyOid
A hash algorithm to hash the data.
data
Type: SystemByte
Data to hash.
Exceptions
ExceptionCondition
ArgumentNullExceptionhashAlgorithm or data is null.
CryptographicExceptionhashAlgorithm is invalid hashing algorithm.
See Also