CoseHeaderMap.GetValueAsString(CoseHeaderLabel) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与指定标签关联的值,作为文本字符串。
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
参数
- label
- CoseHeaderLabel
要获取的值的标签。
返回
与指定标签关联的值,作为文本字符串。
例外
无法将值解码为文本字符串。
找不到 label。