CoseHeaderMap.Item[CoseHeaderLabel] Property

Definition

Gets or sets the element with the specified key.

public System.Security.Cryptography.Cose.CoseHeaderValue this[System.Security.Cryptography.Cose.CoseHeaderLabel key] { get; set; }

Parameters

key
CoseHeaderLabel

The key of the element to get or set.

Property Value

The element with the specified key.

Implements

Exceptions

The property is set and the CoseHeaderMap is read-only.

The property is set and the encoded bytes in the specified CoseHeaderValue contain trailing data or more than one CBOR value.

The property is retrieved and key is not found.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)