แก้ไข

แชร์ผ่าน


CoseMessage.DecodeSign1 Method

Definition

Overloads

DecodeSign1(Byte[])

Decodes a CBOR payload as a COSE_Sign1 message.

DecodeSign1(ReadOnlySpan<Byte>)

Decodes a CBOR payload as a COSE_Sign1 message.

DecodeSign1(Byte[])

Source:
CoseMessage.cs
Source:
CoseMessage.cs
Source:
CoseMessage.cs

Decodes a CBOR payload as a COSE_Sign1 message.

public:
 static System::Security::Cryptography::Cose::CoseSign1Message ^ DecodeSign1(cli::array <System::Byte> ^ cborPayload);
public static System.Security.Cryptography.Cose.CoseSign1Message DecodeSign1 (byte[] cborPayload);
static member DecodeSign1 : byte[] -> System.Security.Cryptography.Cose.CoseSign1Message
Public Shared Function DecodeSign1 (cborPayload As Byte()) As CoseSign1Message

Parameters

cborPayload
Byte[]

The sequence of bytes to decode.

Returns

The decoded message.

Exceptions

cborPayload is null.

cborPayload could not be decoded as a COSE_Sign1 message.

Applies to

DecodeSign1(ReadOnlySpan<Byte>)

Source:
CoseMessage.cs
Source:
CoseMessage.cs
Source:
CoseMessage.cs

Decodes a CBOR payload as a COSE_Sign1 message.

public:
 static System::Security::Cryptography::Cose::CoseSign1Message ^ DecodeSign1(ReadOnlySpan<System::Byte> cborPayload);
public static System.Security.Cryptography.Cose.CoseSign1Message DecodeSign1 (ReadOnlySpan<byte> cborPayload);
static member DecodeSign1 : ReadOnlySpan<byte> -> System.Security.Cryptography.Cose.CoseSign1Message
Public Shared Function DecodeSign1 (cborPayload As ReadOnlySpan(Of Byte)) As CoseSign1Message

Parameters

cborPayload
ReadOnlySpan<Byte>

The sequence of CBOR-encoded bytes to decode.

Returns

The decoded message.

Exceptions

cborPayload could not be decoded as a COSE_Sign1 message.

Applies to