Click or drag to resize
MimeKit

SecureMailboxAddress Class

A secure mailbox address which includes a fingerprint for a certificate.
Inheritance Hierarchy
SystemObject
  MimeKitInternetAddress
    MimeKitMailboxAddress
      MimeKit.CryptographySecureMailboxAddress

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

The SecureMailboxAddress type exposes the following members.

Constructors
 NameDescription
Public methodSecureMailboxAddress(String, String, String) Initialize a new instance of the SecureMailboxAddress class.
Public methodSecureMailboxAddress(Encoding, String, String, String) Initialize a new instance of the SecureMailboxAddress class.
Public methodSecureMailboxAddress(String, IEnumerableString, String, String) Initialize a new instance of the SecureMailboxAddress class.
Public methodSecureMailboxAddress(Encoding, String, IEnumerableString, String, String) Initialize a new instance of the SecureMailboxAddress class.
Top
Properties
 NameDescription
Public propertyAddress Get or set the mailbox address.
(Inherited from MailboxAddress)
Public propertyDomain Get the domain of the email 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 Get whether or not the address is an international address.
(Inherited from MailboxAddress)
Public propertyLocalPart Get the local-part of the email address.
(Inherited from MailboxAddress)
Public propertyName Get or set the display name of the address.
(Inherited from InternetAddress)
Public propertyRoute Get 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) Determine 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
(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
(Inherited from Object)
Protected methodMemberwiseClone
(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) Return 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