Expand description
vauban-claim-verifier — Forensic verifier for Vauban Claim Algebra.
Implements DX surface VS-4 (S8 spec) and OSS-13 (SNF V2 WP2).
§Properties
- Zero Vauban dependency (I-S8-2): does not call any Vauban API or SDK.
- Offline mode:
AnchorWitness::offline()skips on-chain anchor check. - Apache 2.0: fully open-source, auditable, no phone-home.
§Quick start
use vauban_claim_verifier::{verify_claim_offline, AnchorWitness};
let claim_cbor: &[u8] = &[/* your CBOR bytes */];
let report = verify_claim_offline(claim_cbor, "draft-vauban-claim-algebra-00").unwrap();
assert!(report.temporal_frame_valid);
println!("{}", serde_json::to_string_pretty(&report).unwrap());Structs§
- Anchor
Witness - Witness data required to verify a claim’s on-chain anchor.
- Delegation
Link - A single link in a delegation chain.
- Evidence
Step - One step in the evidence verification trace.
- Provenance
Chain - Result of verifying a delegation chain (→ operator).
- Verification
Report - Result of verifying a Vauban Claim (draft-vauban-claim-algebra-00).
Enums§
- Revocation
Status - Revocation status of the claim.
- Verify
Error - All errors that can occur during claim verification.
Functions§
- claim_
hash - Compute the canonical claim hash (SHA-256 of CBOR bytes, hex-encoded).
- verify_
claim_ offline - Verify a CBOR-encoded claim offline (anchor check skipped).
- verify_
claim_ offline_ with_ pubkey - Verify a CBOR-encoded claim offline with Ed25519 public key.
- verify_
claim_ with_ anchor - Verify a CBOR-encoded claim with a full Merkle anchor witness.