Expand description
proof-format: deterministic CBOR (RFC 8949 §4.1 + §4.2.1) + closed schemas. Allowed: uint, nint, text, bytes, array, map, bool, null. Forbidden: floats, tags, indefinite lengths, bignums, simple/undefined, reserved ai.
Re-exports§
pub use cbor::decode_and_check_canonical;pub use cbor::decode_strict;pub use cbor::encode_canonical;pub use cbor::is_canonical;pub use cbor::CborValue;pub use schema::attestation_to_cbor;pub use schema::cbor_to_attestation;pub use schema::cbor_to_event;pub use schema::cbor_to_evidence;pub use schema::cbor_to_proof;pub use schema::cbor_to_proposition;pub use schema::cbor_to_relationship;pub use schema::event_to_cbor;pub use schema::evidence_to_cbor;pub use schema::proof_to_cbor;pub use schema::proposition_to_cbor;pub use schema::relationship_to_cbor;
Modules§
- cbor
- Minimal deterministic CBOR codec for the V0.1 subset. Encoder always emits preferred serialization + lexicographic map order. Decoder rejects everything outside the subset (fail closed).
- schema
- Closed schemas for Event / Attestation / Evidence / Relationship / Proof (FORMAT §4). Unknown fields and unknown enum variants are rejected (fail closed).