MailMessage.Decrypt
Decrypt()
Decrypts the message with a certificate found in the certificate store.
public virtual MailMessage Decrypt()
Return Value
The decrypted message.
Remarks
The certificate and its private key are searched for in the personal (My) stores of the current user and of the computer.
See Also
- class MailMessage
- namespace Aspose.Email
- assembly Aspose.Email
Decrypt(X509Certificate2)
Decrypts the message with the specified certificate.
public virtual MailMessage Decrypt(X509Certificate2 certificate)
| Parameter | Type | Description |
|---|---|---|
| certificate | X509Certificate2 | The certificate, with its private key, to decrypt with. |
Return Value
The decrypted message.
See Also
- class MailMessage
- namespace Aspose.Email
- assembly Aspose.Email