Decrypts the message using specified certificate for decryption. Searches through specified certificate and My certificate store to find appropriate certificate. You can use SMIMEConfiguration to specify certificates and automatic email decryption.

Namespace: Limilabs.Mail
Assembly: Mail (in Mail.dll) Version: 3.0.12102.1426

Syntax

C#
IMail Decrypt(
	X509Certificate2 certificate
)
Visual Basic
Function Decrypt ( _
	certificate As X509Certificate2 _
) As IMail
Visual C++
IMail^ Decrypt(
	X509Certificate2^ certificate
)

Parameters

certificate
Type: System.Security.Cryptography.X509Certificates..::..X509Certificate2
Certificate used for decryption.

Return Value

Decrypted email message

See Also