Bewerken

Delen via


CoseHeaderValue.FromEncodedValue Method

Definition

Overloads

FromEncodedValue(Byte[])

Creates a CoseHeaderValue instance from a CBOR-encoded value.

FromEncodedValue(ReadOnlySpan<Byte>)

Creates a CoseHeaderValue instance from a CBOR-encoded value.

FromEncodedValue(Byte[])

Source:
CoseHeaderValue.cs
Source:
CoseHeaderValue.cs
Source:
CoseHeaderValue.cs

Creates a CoseHeaderValue instance from a CBOR-encoded value.

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

Parameters

encodedValue
Byte[]

A CBOR-encoded value to represent.

Returns

An instance that represents the encoded value.

Exceptions

encodedValue is null.

Applies to

FromEncodedValue(ReadOnlySpan<Byte>)

Source:
CoseHeaderValue.cs
Source:
CoseHeaderValue.cs
Source:
CoseHeaderValue.cs

Creates a CoseHeaderValue instance from a CBOR-encoded value.

public:
 static System::Security::Cryptography::Cose::CoseHeaderValue FromEncodedValue(ReadOnlySpan<System::Byte> encodedValue);
public static System.Security.Cryptography.Cose.CoseHeaderValue FromEncodedValue (ReadOnlySpan<byte> encodedValue);
static member FromEncodedValue : ReadOnlySpan<byte> -> System.Security.Cryptography.Cose.CoseHeaderValue
Public Shared Function FromEncodedValue (encodedValue As ReadOnlySpan(Of Byte)) As CoseHeaderValue

Parameters

encodedValue
ReadOnlySpan<Byte>

A CBOR-encoded value to represent.

Returns

An instance that represents the encoded value.

Applies to