System.Security.Cryptography.Pkcs.EnvelopedCms
Represents a CMS/PKCS#7 structure for enveloped data.
Gets the collection of certificates associated with the enveloped CMS/PKCS#7 message.
Gets the identifier of the symmetric encryption algorithm associated with this message.
Gets the content information for the enveloped CMS/PKCS#7 message.
Gets a collection that represents the recipients list for a decoded message. The default value is an empty collection.
Gets the collection of unprotected (unencrypted) attributes associated with the enveloped CMS/PKCS#7 message.
Gets the version of the decoded enveloped CMS/PKCS#7 message.
public EnvelopedCms()
Initializes a new instance of the EnvelopedCms class with default values.
Initializes a new instance of the EnvelopedCms class with specified content information.
Initializes a new instance of the EnvelopedCms class with a specified symmetric encryption algorithm and content information.
Decodes an array of bytes as a CMS/PKCS#7 EnvelopedData message.
Decodes the provided data as a CMS/PKCS#7 EnvelopedData message.
Decrypts the contents of the decoded enveloped CMS/PKCS#7 message via any available recipient by searching certificate stores for a matching certificate and key.
Decrypts the contents of the decoded enveloped CMS/PKCS#7 message via a specified recipient info by searching certificate stores for a matching certificate and key.
Decrypts the contents of the decoded enveloped CMS/PKCS#7 message via a specified recipient info by searching certificate stores and a provided collection for a matching certificate and key.
Decrypts the contents of the decoded enveloped CMS/PKCS#7 message via any available recipient info by searching certificate stores and a provided collection for a matching certificate and key.
Decrypts the contents of the decoded enveloped CMS/PKCS#7 message via a specified recipient info with a specified private key.
Encodes the contents of the enveloped CMS/PKCS#7 message and returns it as a byte array.
Encrypts the contents of the CMS/PKCS#7 message for a single specified recipient.
Encrypts the contents of the CMS/PKCS#7 message for one or more recipients.