Expand description
Load, verify and apply decision-certificate.v1 (spec/decision-certificate.v1.md).
Verification canonicalises the JSON value exactly as received (RFC 8785, JCS), never a
re-serialised struct, so number formatting can’t drift from the issuer’s. The typed
Certificate is read from the same value afterwards, rejecting unknown fields.
Structs§
- Audit
- Band
- Calibration
Map - Certificate
- Every field is required;
Optionfields must be present (as null): a missing field is an error. - Issuer
- Rule
- Segment
- Split
- Verified
- A certificate whose signature verified against a trusted key.
- Window
Enums§
Constants§
- ABSTAIN_
ALL abstain_belowthat abstains on every case (asdk calibratewrites it).- SPEC
Functions§
- canonical
- The JCS bytes of a JSON value.
- certificate_
id - key_id
ed25519:+ the first 16 hex chars of SHA-256 of the raw public key.- timestamp
- Parse the spec’s timestamp form,
YYYY-MM-DDTHH:MM:SSZ, and nothing else. - verify
- Verify
vagainstkeys(key id → base64url raw public key) and read it.