Click or drag to resize
MimeKit

ArcSigner(Stream, 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(
	Stream stream,
	string domain,
	string selector,
	DkimSignatureAlgorithm algorithm = DkimSignatureAlgorithm.RsaSha256
)

Parameters

stream  Stream
The stream containing the 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

stream is null.

-or-

domain is null.

-or-

selector is null.

FormatException The file did not contain a private key.
IOException An I/O error occurred.
Remarks
Creates a new ArcSigner.
See Also