Edit

Share via


CoseHeaderMap.GetValueAsInt32(CoseHeaderLabel) Method

Definition

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

public:
 int GetValueAsInt32(System::Security::Cryptography::Cose::CoseHeaderLabel label);
public int GetValueAsInt32 (System.Security.Cryptography.Cose.CoseHeaderLabel label);
member this.GetValueAsInt32 : System.Security.Cryptography.Cose.CoseHeaderLabel -> int
Public Function GetValueAsInt32 (label As CoseHeaderLabel) As Integer

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