Click or drag to resize
MimeKit

ArcSigner(AsymmetricKeyParameter, String, String, DkimSignatureAlgorithm) Constructor

Initialize a new instance of the ArcSigner class.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
protected ArcSigner(
	AsymmetricKeyParameter key,
	string domain,
	string selector,
	DkimSignatureAlgorithm algorithm = DkimSignatureAlgorithm.RsaSha256
)

Parameters

key  AsymmetricKeyParameter
The signer's private key.
domain  String
The domain that the signer represents.
selector  String
The selector subdividing the domain.
algorithm  DkimSignatureAlgorithm  (Optional)
The signature algorithm.
Exceptions
ExceptionCondition
ArgumentNullException

key is null.

-or-

domain is null.

-or-

selector is null.

ArgumentExceptionkey is not a private key.
Remarks
Creates a new ArcSigner.
See Also