Click or drag to resize
MimeKit

SecureMailboxAddress Class

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

Namespace:  MimeKit.Cryptography
Assembly:  MimeKit (in MimeKit.dll) Version: 3.0.0
Syntax
C#
public class SecureMailboxAddress : MailboxAddress

The SecureMailboxAddress type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAddress
Gets or sets the mailbox address.
(Inherited from MailboxAddress.)
Public propertyEncoding
Get or set the character encoding to use when encoding the name of the address.
(Inherited from InternetAddress.)
Public propertyFingerprint
Gets the fingerprint of the certificate and/or key to use for signing or encrypting.
Public propertyIsInternational
Gets whether or not the address is an international address.
(Inherited from MailboxAddress.)
Public propertyName
Get or set the display name of the address.
(Inherited from InternetAddress.)
Public propertyRoute
Gets the mailbox route.
(Inherited from MailboxAddress.)
Top
Methods
  NameDescription
Public methodClone
Clone the mailbox address.
(Inherited from MailboxAddress.)
Public methodCompareTo
Compares two internet addresses.
(Inherited from InternetAddress.)
Public methodEquals(InternetAddress)
Determines whether the specified MailboxAddress is equal to the current MailboxAddress.
(Inherited from MailboxAddress.)
Public methodEquals(Object)
Determine whether the specified object is equal to the current object.
(Inherited from InternetAddress.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAddress
Get the mailbox address, optionally encoded according to IDN encoding rules.
(Inherited from MailboxAddress.)
Public methodGetHashCode
Return the hash code for this instance.
(Inherited from InternetAddress.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnChanged
Raise the internal changed event used by MimeMessage to keep headers in sync.
(Inherited from InternetAddress.)
Public methodToString
Serialize an InternetAddress to a string suitable for display.
(Inherited from InternetAddress.)
Public methodToString(Boolean)
Serialize an InternetAddress to a string, optionally encoding it for transport.
(Inherited from InternetAddress.)
Public methodToString(FormatOptions, Boolean)
Returns a string representation of the MailboxAddress, optionally encoding it for transport.
(Inherited from MailboxAddress.)
Top
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.

See Also