SmimeResultDecryptionCertificate Property
Gets a reference to the certificate which was used to decrypt the message.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.3.0 build 647 for .NET 4.5
public Certificate DecryptionCertificate { get; }

Property Value

Type: Certificate
A reference to the certificate used to decrypt the message, or a null reference (Nothing in Visual Basic) if the source message was not encrypted or if the current SmimeResult object was returned by Verify(MailMessage, MessageVerificationFlags, CertificateStore) method call.
You should use Decrypt(MailMessage) or DecryptAndVerify(MailMessage, MessageVerificationFlags) methods to get SmimeResult object with DecryptionCertificate property set.
See Also