Expand description
Load, verify and apply decision certificates: decision-certificate.v1
(spec/decision-certificate.v1.md) and decision-certificate.v1.1 (spec/decision-certificate.v1.1.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
- The
specof a certificate produced by the v1 procedure. - SPECS
- Every
specthis verifier accepts. The fields, and so the checks, are the same for each. - SPEC_
V1_ 1 - The
specof a certificate produced by the v1.1 procedure (the per-test grid start).
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.