CoseHeaderMap.GetValueAsString(CoseHeaderLabel) Method

Definition

Gets the value associated with the specified label, as a text string.

public:
 System::String ^ GetValueAsString(System::Security::Cryptography::Cose::CoseHeaderLabel label);
public string GetValueAsString (System.Security.Cryptography.Cose.CoseHeaderLabel label);
member this.GetValueAsString : System.Security.Cryptography.Cose.CoseHeaderLabel -> string
Public Function GetValueAsString (label As CoseHeaderLabel) As String

Parameters

label
CoseHeaderLabel

The label of the value to get.

Returns

The value associated with the specified label, as a text string.

Exceptions

The value could not be decoded as text string.

label is not found.

Applies to