| WindowsSecureMimeContextGetRecipientCertificate Method |
Get the certificate for the specified recipient.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax protected virtual X509Certificate2 GetRecipientCertificate(
MailboxAddress mailbox
)
Parameters
- mailbox MailboxAddress
- The recipient's mailbox address.
Return Value
X509Certificate2The 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