EnvelopedCms Constructor ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The EnvelopedCms() constructor creates an instance of the EnvelopedCms class.

Namespace:   System.Security.Cryptography.Pkcs
Assembly:  System.Security (in System.Security.dll)

public EnvelopedCms()

Exception Condition
ArgumentNullException

A null reference was passed to a method that does not accept it as a valid argument.

The EnvelopedCms class has the following default property values.

Property

Default value

ContentInfo

1.2.840.113549.1.7.1 (data)Length: zero

ContentEncryptionAlgorithm

1.2.840.113549.3.7 (RSA_DES_EDE3_CBC)

The default SubjectIdentifierType for recipients is IssuerAndSerialNumber.

.NET Framework
Available since 2.0
Return to top
Show: