Edit

Share via


EnvelopedCms.Decode Method

Definition

Overloads

Decode(Byte[])

Decodes an array of bytes as a CMS/PKCS#7 EnvelopedData message.

Decode(ReadOnlySpan<Byte>)

Decodes the provided data as a CMS/PKCS#7 EnvelopedData message.

Decode(Byte[])

Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs

Decodes an array of bytes as a CMS/PKCS#7 EnvelopedData message.

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

Parameters

encodedMessage
Byte[]

The byte array containing the sequence of bytes to decode.

Exceptions

The encodedMessage parameter is null.

The encodedMessage parameter was not successfully decoded.

See also

Applies to

Decode(ReadOnlySpan<Byte>)

Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs

Decodes the provided data as a CMS/PKCS#7 EnvelopedData message.

public:
 void Decode(ReadOnlySpan<System::Byte> encodedMessage);
public void Decode (ReadOnlySpan<byte> encodedMessage);
member this.Decode : ReadOnlySpan<byte> -> unit
Public Sub Decode (encodedMessage As ReadOnlySpan(Of Byte))

Parameters

encodedMessage
ReadOnlySpan<Byte>

The data to decode.

Exceptions

The encodedMessage parameter was not successfully decoded.

Applies to