CborUtils Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |