CryptSigner(AsymmetricKeyPair, Oid) Constructor

Initializes a new instance of CryptSigner from an asymmetric key pair and optional hashing algorithm.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public CryptSigner(
	AsymmetricKeyPair keyPair,
	Oid hashingAlgorithm = null
)

Parameters

keyPair  AsymmetricKeyPair
An asymmetric key instance.
hashingAlgorithm  Oid  (Optional)
Optional hashing algorithm. Default is SHA256.

Exceptions

ArgumentNullExceptionkeyPair parameter is null.

See Also