WindowsSecureMimeContextGetSignerCertificate Method

Get the certificate for the specified signer.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
protected virtual X509Certificate2? GetSignerCertificate(
	MailboxAddress mailbox
)

Parameters

mailbox  MailboxAddress
The signer's mailbox address.

Return Value

X509Certificate2
The certificate to use for the signer; otherwise, or .

Remarks

Gets the certificate for the specified signer.

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

See Also