 | WindowsSecureMimeContextGetRecipientCertificate Method |
Get the certificate for the specified recipient.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxprotected virtual X509Certificate2 GetRecipientCertificate(
MailboxAddress mailbox
)
Parameters
- mailbox MailboxAddress
- The recipient's mailbox address.
Return Value
X509Certificate2The certificate to use for the recipient; otherwise, or
.
RemarksGets 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