Click or drag to resize
MimeKit

WindowsSecureMimeContextGetRecipientCertificate Method

Get the certificate for the specified recipient.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
protected virtual X509Certificate2 GetRecipientCertificate(
	MailboxAddress mailbox
)

Parameters

mailbox  MailboxAddress
The recipient's mailbox address.

Return Value

X509Certificate2
The certificate to use for the recipient; otherwise, or null.
Remarks

Gets the certificate for the specified recipient.

If the mailbox is a SecureMailboxAddress, the Fingerprint property will be used instead of the mailbox address.

See Also