This annex defines mandatory canonical serialization requirements for all Trust-State evaluation inputs, rule definitions, and conformity artifacts.
Canonical serialization ensures deterministic byte representation of structured data prior to hashing, replay validation, or artifact issuance.
All systems claiming alignment with the Trust-State Standard SHALL implement canonical serialization exactly as defined in this annex.
JSON object members SHALL be ordered lexicographically by key using Unicode code point ordering.
true, false).null.The canonical form of a structured object is defined as the UTF-8 encoded byte sequence resulting from:
The resulting byte sequence SHALL be used for all hash computations defined in subsequent annexes.
Given identical structured input, canonical serialization MUST produce a byte-identical output across independent implementations.
Any deviation in byte sequence SHALL constitute non-conformance.
All hash derivations defined in the Trust-State Standard SHALL operate exclusively on canonical serialized byte sequences produced under this annex.