Szerkesztés

Megosztás a következőn keresztül:


CoseHeaderValue Struct

Definition

Represents a COSE header value.

public value class CoseHeaderValue : IEquatable<System::Security::Cryptography::Cose::CoseHeaderValue>
public readonly struct CoseHeaderValue : IEquatable<System.Security.Cryptography.Cose.CoseHeaderValue>
type CoseHeaderValue = struct
Public Structure CoseHeaderValue
Implements IEquatable(Of 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