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: 2.0.7.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
Gets or sets 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
Gets or sets 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(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(InternetAddress)
Determines whether the specified MailboxAddress is equal to the current MailboxAddress.
(Inherited from MailboxAddress.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
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
Raises the internal changed event used by MimeMessage to keep headers in sync.
(Inherited from InternetAddress.)
Public methodToString
Returns a string representation of a InternetAddress suitable for display.
(Inherited from InternetAddress.)
Public methodToString(Boolean)
Returns a string representation of the InternetAddress, 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