EnvelopedCms.Decrypt Method
.NET Framework 4.5
Decrypts the contents of the decoded enveloped CMS/PKCS #7 message.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Decrypt() | The Decrypt() method decrypts the contents of the decoded enveloped CMS/PKCS #7 message. The Decrypt() method searches the current user and computer My stores for the appropriate certificate and private key. |
|
Decrypt(RecipientInfo) | The Decrypt(RecipientInfo) method decrypts the contents of the decoded enveloped CMS/PKCS #7 message by using the private key associated with the certificate identified by the specified recipient information. |
|
Decrypt(X509Certificate2Collection) | The Decrypt(X509Certificate2Collection) method decrypts the contents of the decoded enveloped CMS/PKCS #7 message by using the specified certificate collection. The Decrypt(X509Certificate2Collection) method searches the specified certificate collection and the My certificate store for the proper certificate to use for the decryption. |
|
Decrypt(RecipientInfo, X509Certificate2Collection) | The Decrypt(RecipientInfo, X509Certificate2Collection) method decrypts the contents of the decoded enveloped CMS/PKCS #7 message by using the private key associated with the certificate identified by the specified recipient information and by using the specified certificate collection. The Decrypt(RecipientInfo, X509Certificate2Collection) method searches the specified certificate collection and the My certificate store for the proper certificate to use for the decryption. |