Share via


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