SecureMailboxAddress Class

A secure mailbox address which includes a fingerprint for a certificate.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public class SecureMailboxAddress : MailboxAddress
Inheritance
Object    InternetAddress    MailboxAddress    SecureMailboxAddress

Remarks

When signing or encrypting a message, it is necessary to look up the X.509 certificate in order to do the actual sign or encrypt operation. One way of accomplishing this is to use the email address of sender or recipient as a unique identifier. However, a better approach is to use the fingerprint (or 'thumbprint' in Microsoft parlance) of the user's certificate.

Constructors

SecureMailboxAddress(String, String, String) Initialize a new instance of the SecureMailboxAddress class.
SecureMailboxAddress(Encoding, String, String, String) Initialize a new instance of the SecureMailboxAddress class.
SecureMailboxAddress(String, IEnumerableString, String, String) Initialize a new instance of the SecureMailboxAddress class.
SecureMailboxAddress(Encoding, String, IEnumerableString, String, String) Initialize a new instance of the SecureMailboxAddress class.

Properties

Address Get or set the mailbox address.
(Inherited from MailboxAddress)
Domain Get the domain of the email address.
(Inherited from MailboxAddress)
Encoding Get or set the character encoding to use when encoding the name of the address.
(Inherited from InternetAddress)
Fingerprint Gets the fingerprint of the certificate and/or key to use for signing or encrypting.
IsInternational Get whether the address is an international address.
(Inherited from MailboxAddress)
LocalPart Get the local-part of the email address.
(Inherited from MailboxAddress)
Name Get or set the display name of the address.
(Inherited from InternetAddress)
Route Get the mailbox route.
(Inherited from MailboxAddress)

Methods

Clone Clone the mailbox address.
(Inherited from MailboxAddress)
CompareTo Compares two internet addresses.
(Inherited from InternetAddress)
Equals(InternetAddress) Determine whether the specified MailboxAddress is equal to the current MailboxAddress.
(Inherited from MailboxAddress)
Equals(Object) Determine whether the specified object is equal to the current object.
(Inherited from InternetAddress)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetAddress Get the mailbox address, either IDN-encoded or decoded.
(Inherited from MailboxAddress)
GetDomain Get the domain of the email address, either IDN-encoded or decoded.
(Inherited from MailboxAddress)
GetHashCode Return the hash code for this instance.
(Inherited from InternetAddress)
GetType Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
OnChanged Raise the internal changed event used by MimeMessage to keep headers in sync.
(Inherited from InternetAddress)
ToString Serialize an InternetAddress to a string suitable for display.
(Inherited from InternetAddress)
ToString(Boolean) Serialize an InternetAddress to a string, optionally encoding it for transport.
(Inherited from InternetAddress)
ToString(FormatOptions, Boolean) Return a string representation of the MailboxAddress, optionally encoding it for transport.
(Inherited from MailboxAddress)

See Also