Expand description
Post-claim local authorization and the ordered post-status stages
(SPEC-v2 §5.2, §6.3 to §6.7). Mirrors Go authorization_v2.go and
evaluateConstraintV2 / loadV2TimeZone from constraints_v2.go.
Structs§
- V2Deferred
Constraint - A constraint requiring the ordered status, membership, or rate-reservation stage.
- V2Local
Authorization Assessment - An intermediate result, not a terminal authorization decision. Callers must still evaluate issuer status and any deferred checks before an action can be allowed.
- V2Local
Authorization Options - Verifier-owned inputs for the deterministic authorization checks that
follow a successful challenge claim. There is no caller-supplied
evaluation time: every time-sensitive check uses the claim store’s
authoritative claim time sealed in
claim_token.future_skew_secondsmust equal the value sealed at claim. - V2Local
Policy Failure - A pure local verdict that must not become terminal until every authenticated chain CertificateRef has completed status evaluation.
Constants§
- TZDB_
VERSION_ V2 - The IANA tzdata release embedded in this crate and used for every
time_windowevaluation (SPEC-v2 §5.2; GoTZDBVersionV2). A verifier configures the release it requires; any other configured value, or none, makes everytime_windowconstraint_unverifiable.
Functions§
- evaluate_
proof_ bundle_ v2_ local_ authorization - Go
EvaluateProofBundleV2LocalAuthorization: trust-root binding, delegation times, effective scope, and deterministic constraints. The caller must invoke it only after preflight and atomic challenge claim. It performs no status lookup, rate reservation, or other external call (extension evaluators sealed at preflight are pure). - resolve_
claim_ proof_ bundle_ v2_ after_ audience - Go
ResolveClaimProofBundleV2AfterAudience: consume caller-authenticated, complete membership results only after every certificate status is current. Membership freshness is evaluated at the authoritative claim time sealed in the token. Errors areconfiguration_invalid(Go returns them unclassified; they mean the token is not in this stage or the sealed state is inconsistent). - resolve_
claim_ proof_ bundle_ v2_ after_ rate - Go
ResolveClaimProofBundleV2AfterRate: the final external Protocol constraint stage. The caller must finalize the returned terminal result through the same claim store; an ambiguous store error never authorizes. A rate store that panics is treated as unavailable. Errors areevaluation_cancelledfor a done context andconfiguration_invalidotherwise (Go returns them unclassified).