EnvelopedCms.Decode(Byte[]) EnvelopedCms.Decode(Byte[]) EnvelopedCms.Decode(Byte[]) EnvelopedCms.Decode(Byte[]) Method

定义

Decode(Byte[]) 方法对指定的 CMS/PKCS #7 封装消息进行解码并重置 EnvelopedCms 对象中的所有成员变量。The Decode(Byte[]) method decodes the specified enveloped CMS/PKCS #7 message and resets all member variables in the EnvelopedCms object.

public:
 void Decode(cli::array <System::Byte> ^ encodedMessage);
public void Decode (byte[] encodedMessage);
member this.Decode : byte[] -> unit
Public Sub Decode (encodedMessage As Byte())

参数

encodedMessage
Byte[]

一个表示要解码的信息的字节值数组。An array of byte values that represent the information to be decoded.

异常

向不接受空引用作为有效参数的方法传递了一个空引用。A null reference was passed to a method that does not accept it as a valid argument.

注解

此方法应在此前调用EnvelopedCms.Decrypt()或任何其他 EnvelopedCms.Decrypt 方法。This method should be called before EnvelopedCms.Decrypt() or any other EnvelopedCms.Decrypt method.

适用于

另请参阅