CoseMessage.DecodeSign1 方法

定义

重载

DecodeSign1(Byte[])

将 CBOR 有效负载解码为COSE_Sign1消息。

DecodeSign1(ReadOnlySpan<Byte>)

将 CBOR 有效负载解码为COSE_Sign1消息。

DecodeSign1(Byte[])

Source:
CoseMessage.cs
Source:
CoseMessage.cs
Source:
CoseMessage.cs
Source:
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>)

Source:
CoseMessage.cs
Source:
CoseMessage.cs
Source:
CoseMessage.cs
Source:
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消息。

适用于