Skip to main content

Crate vouch_core

Crate vouch_core 

Source
Expand description

Vouch Protocol canonical core.

One byte-exact Rust implementation of the protocol primitives (JCS canonicalization, Ed25519 and ML-DSA proofs, did:key/multikey, Data Integrity eddsa-jcs-2022, credentials, delegation, revocation), shared by every language SDK through WASM and UniFFI/C-FFI so that no primitive is re-derived per language. Behavior MUST match the TypeScript reference SDK byte-for-byte and pass the shared interop vectors in test-vectors/.

Re-exports§

pub use error::CoreError;
pub use error::Result;

Modules§

credentials
Vouch Credential build and verify.
data_integrity
Data Integrity proofs, cryptosuite eddsa-jcs-2022.
delegation
Delegation links and time-bound chain validation.
error
Error type for the Vouch core.
hybrid
Hybrid post-quantum credentials.
jcs
JSON Canonicalization Scheme (JCS) per RFC 8785.
keys
Ed25519 key generation, signing, verification, and did:key encoding.
multikey
Multikey encoding for verification methods.
pq
Post-quantum ML-DSA-44 (FIPS 204) keygen, sign, and verify.
recovery
Root-identity recovery by Shamir secret sharing.
recovery_json
JSON facade for crate::recovery (Shamir root-identity recovery).
robotics
Robotics primitives (Phase 5), one byte-exact implementation in the core.
robotics_json
JSON facades for the robotics primitives.
status_list
BitstringStatusList revocation/suspension checks.
threshold
FROST(Ed25519, SHA-512) threshold signing (RFC 9591).
threshold_json
JSON facade for crate::threshold (FROST threshold signing).
time
Minimal, dependency-free ISO-8601 handling for the protocol’s timestamps.