TspRfc3161Request(Oid, Byte) Constructor

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

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.3.0+c7aa42c7e4fd98d87c1722b230e8e27c1bbf41f0
C#
public TspRfc3161Request(
	Oid hashAlgorithm,
	byte[] data
)

Parameters

hashAlgorithm  Oid
A hash algorithm to hash the data.
data  Byte
Data to hash.

Exceptions

ArgumentNullExceptionhashAlgorithm or data is null.
CryptographicExceptionhashAlgorithm is invalid hashing algorithm.

See Also