Sdílet prostřednictvím


CoseMessage.DecodeSign1 Metoda

Definice

Přetížení

DecodeSign1(Byte[])

Dekóduje datovou část CBOR jako COSE_Sign1 zprávu.

DecodeSign1(ReadOnlySpan<Byte>)

Dekóduje datovou část CBOR jako COSE_Sign1 zprávu.

DecodeSign1(Byte[])

Zdroj:
CoseMessage.cs
Zdroj:
CoseMessage.cs
Zdroj:
CoseMessage.cs
Zdroj:
CoseMessage.cs

Dekóduje datovou část CBOR jako COSE_Sign1 zprávu.

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

Parametry

cborPayload
Byte[]

Posloupnost bajtů k dekódování.

Návraty

Dekódovaná zpráva.

Výjimky

cborPayload je null.

cborPayload nelze dekódovat jako zprávu COSE_Sign1.

Platí pro

DecodeSign1(ReadOnlySpan<Byte>)

Zdroj:
CoseMessage.cs
Zdroj:
CoseMessage.cs
Zdroj:
CoseMessage.cs
Zdroj:
CoseMessage.cs

Dekóduje datovou část CBOR jako COSE_Sign1 zprávu.

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

Parametry

cborPayload
ReadOnlySpan<Byte>

Posloupnost bajtů v kódování CBOR pro dekódování.

Návraty

Dekódovaná zpráva.

Výjimky

cborPayload nelze dekódovat jako zprávu COSE_Sign1.

Platí pro