CoseHeaderValue Struct

Definition

Represents a COSE header value.

C#
public readonly struct CoseHeaderValue : IEquatable<System.Security.Cryptography.Cose.CoseHeaderValue>
Inheritance
CoseHeaderValue
Implements

Properties

EncodedValue

Gets the CBOR-encoded value of this instance.

Methods

Equals(CoseHeaderValue)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Returns a value indicating whether this instance is equal to the specified instance.

FromBytes(Byte[])

Creates a CoseHeaderValue instance from a byte array.

FromBytes(ReadOnlySpan<Byte>)

Creates a CoseHeaderValue instance from a span of bytes.

FromEncodedValue(Byte[])

Creates a CoseHeaderValue instance from a CBOR-encoded value.

FromEncodedValue(ReadOnlySpan<Byte>)

Creates a CoseHeaderValue instance from a CBOR-encoded value.

FromInt32(Int32)

Creates a CoseHeaderValue instance from a signed integer.

FromString(String)

Creates a CoseHeaderValue instance from a string.

GetHashCode()

Returns the hash code for this instance.

GetValueAsBytes()

Gets the CBOR-encoded value as a byte string.

GetValueAsBytes(Span<Byte>)

Gets the CBOR-encoded value as a byte string.

GetValueAsInt32()

Gets the value as a signed integer.

GetValueAsString()

Gets the value as a text string.

Operators

Equality(CoseHeaderValue, CoseHeaderValue)

Determines whether two specified header value instances are equal.

Inequality(CoseHeaderValue, CoseHeaderValue)

Determines whether two specified header value instances are not equal.

Applies to

Tuote Versiot
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)