Click or drag to resize

MessageSigner Constructor (X509Certificate2)

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

Namespace:  SysadminsLV.PKI.Tools.MessageOperations
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public MessageSigner(
	X509Certificate2 signer
)

Parameters

signer
Type: System.Security.Cryptography.X509CertificatesX509Certificate2

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

Exceptions
ExceptionCondition
ArgumentExceptionhashAlgorithm parameter contains invalid hash algorithm identifier.
UninitializedObjectExceptionSigner certificate is not initialized.
ArgumentNullExceptionsigner parameter is null.
See Also