共用方式為


CoseMessage.DecodeSign1 方法

定義

多載

DecodeSign1(Byte[])

將 CBOR 承載譯碼為COSE_Sign1訊息。

DecodeSign1(ReadOnlySpan<Byte>)

將 CBOR 承載譯碼為COSE_Sign1訊息。

DecodeSign1(Byte[])

來源:
CoseMessage.cs
來源:
CoseMessage.cs

將 CBOR 承載譯碼為COSE_Sign1訊息。

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

參數

cborPayload
Byte[]

要譯碼的位元組序列。

傳回

譯碼的訊息。

例外狀況

cborPayloadnull

cborPayload 無法譯碼為COSE_Sign1訊息。

適用於

DecodeSign1(ReadOnlySpan<Byte>)

來源:
CoseMessage.cs
來源:
CoseMessage.cs

將 CBOR 承載譯碼為COSE_Sign1訊息。

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

參數

cborPayload
ReadOnlySpan<Byte>

要譯碼的 CBOR 編碼位元組序列。

傳回

譯碼的訊息。

例外狀況

cborPayload 無法譯碼為COSE_Sign1訊息。

適用於