Expand description
CBOR encoding/decoding for RFC 8949 compliance.
Uses deterministic encoding (RFC 8949 Section 4.2) for reproducible serialization.
Modules§
- keys
- Integer keys per RFC CDDL definitions (smaller than string keys on the wire).
Functions§
- decode
- Deserialize a value from CBOR bytes.
- decode_
compact_ ref - Decode a compact evidence reference.
- decode_
cpop - Decode a CPOP-tagged evidence packet.
- decode_
cwar - Decode a CWAR-tagged attestation result.
- decode_
from - Deserialize a value from a CBOR reader.
- decode_
tagged - Decode CBOR data, verifying the expected semantic tag.
- encode
- Serialize a value to deterministic CBOR bytes.
- encode_
compact_ ref - Encode with compact evidence reference semantic tag.
- encode_
cpop - Encode with CPOP semantic tag (evidence packet).
- encode_
cwar - Encode with CWAR semantic tag (attestation result).
- encode_
tagged - Wrap a serialized value in a CBOR semantic tag.
- encode_
to - Serialize a value as CBOR into a writer.
- extract_
tag - Extract the outermost CBOR semantic tag, if present.
- has_tag
- Check whether CBOR data carries the expected semantic tag.