MessageSigner(X509Certificate2) Constructor

Initializes a new instance of the MessageSigner class from signer certificate and default hash algorithm. Default hash algorithm is SHA256.

Definition

Namespace: SysadminsLV.PKI.Tools.MessageOperations
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public MessageSigner(
	X509Certificate2 signer
)

Parameters

signer  X509Certificate2

[Missing <param name="signer"/> documentation for "M:SysadminsLV.PKI.Tools.MessageOperations.MessageSigner.#ctor(System.Security.Cryptography.X509Certificates.X509Certificate2)"]

Exceptions

ArgumentExceptionhashAlgorithm parameter contains invalid hash algorithm identifier.
UninitializedObjectExceptionSigner certificate is not initialized.
ArgumentNullExceptionsigner parameter is null.

See Also