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.0.1
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