MapiMessage.Decrypt
Decrypt()
Decrypts the message with a certificate found in the certificate store.
public MapiMessage 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 MapiMessage
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
Decrypt(X509Certificate2)
Decrypts the message with the specified certificate.
public MapiMessage 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 MapiMessage
- namespace Aspose.Email.Mapi
- assembly Aspose.Email