CBOR
Concise Binary Object Representation (RFC 8949), the compact binary encoding of a Truestamp proof bundle, interchangeable with the JSON form, wrapped in the self-describing tag 55799, carrying hash and key fields as raw byte strings instead of hex or base64 text.
Overview
CBOR (Concise Binary Object Representation, RFC 8949) is the compact binary encoding of a Truestamp proof bundle, fully interchangeable with the human-readable JSON form: both encode the same logical bundle and pass the identical verification. The whole bundle is wrapped in the CBOR self-describing tag 55799 (the three bytes 0xd9 0xd9 0xf7), so a stream parser can detect the format from its prefix. On encode, a fixed set of fields that are hex or base64 strings in JSON (the hashes, the signing-key ids, the public key, the signature) become raw CBOR byte strings for compactness, while the Merkle proof fields and the Bitcoin hex fields stay text strings. The field-by-field mapping between the two encodings is in the proof bundle wire format.
Citations
- RFC 8949: Concise Binary Object Representation (CBOR). Defines the CBOR encoding and the self-describing tag
55799.