你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CborUtils Class

Definition

Utility methods for reading simple string values from CBOR-encoded maps used within Signing Transparency receipts and responses. Methods are defensive: on invalid input, key absence, or unexpected CBOR shapes they return an empty string instead of throwing, allowing callers to decide whether absence is an error condition.

public class CborUtils
type CborUtils = class
Public Class CborUtils
Inheritance
CborUtils

Constructors

Name Description
CborUtils()

Methods

Name Description
GetStringValueFromCborMapByKey(Byte[], Int32)

Reads a CBOR-encoded map and returns the text string value associated with the specified integer key.

GetStringValueFromCborMapByKey(Byte[], String)

Reads a CBOR-encoded map and returns the text string value associated with the specified key.

Applies to