CoseHeaderMap.GetValueAsInt32(CoseHeaderLabel) Method

Definition

Gets the value associated with the specified label, as a signed integer.

C#
public int GetValueAsInt32(System.Security.Cryptography.Cose.CoseHeaderLabel label);

Parameters

label
CoseHeaderLabel

The label of the value to get.

Returns

The value associated with the specified label, as a signed integer.

Exceptions

The value could not be decoded as a 32-bit signed integer.

label is not found.

Applies to

Produkt Versioner
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)