SecureMailboxAddress(Encoding, String, IEnumerableString, String, String) Constructor

Initialize a new instance of the SecureMailboxAddress class.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public SecureMailboxAddress(
	Encoding encoding,
	string name,
	IEnumerable<string> route,
	string address,
	string fingerprint
)

Parameters

encoding  Encoding
The character encoding to be used for encoding the name.
name  String
The name of the mailbox.
route  IEnumerableString
The route of the mailbox.
address  String
The address of the mailbox.
fingerprint  String
The fingerprint of the certificate belonging to the owner of the mailbox.

Remarks

Creates a new SecureMailboxAddress with the specified fingerprint.

Exceptions

ArgumentNullException

encoding is .

-or-

route is .

-or-

address is .

-or-

fingerprint is .

ArgumentException route contains a null, empty or syntactically invalid domain.

See Also