System.Security.Cryptography.Pkcs.EnvelopedCms.Decode Method

The EnvelopedCms.Decode(Byte[]) method decodes the specified enveloped CMS/PKCS #7 message and resets all member variables in the System.Security.Cryptography.Pkcs.EnvelopedCms object.

Syntax

public void Decode (byte[] encodedMessage)

Parameters

encodedMessage
An array of byte values that represent the information to be decoded.

Remarks

This method should be called before EnvelopedCms.Decrypt or any other EnvelopedCms.Decrypt method.

Requirements

Namespace: System.Security.Cryptography.Pkcs
Assembly: System.Security (in System.Security.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0