Skip to main content

Crate sbo3l_core

Crate sbo3l_core 

Source
Expand description

SBO3L core: protocol types, request hashing, error model, signed receipts.

Re-exports§

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

Modules§

aprp
Agent Payment Request Protocol (APRP) v1 types. Mirrors schemas/aprp_v1.json and §2 of docs/spec/17_interface_contracts.md.
audit
Audit event v1 — protocol types and chain helpers.
audit_bundle
Verifiable audit export bundle (v1).
decision_token
Decision token v1.
error
Error model. Mirrors §3 of docs/spec/17_interface_contracts.md.
execution
Sponsor-execution trait + types.
hashing
JSON Canonicalization Scheme (RFC 8785) and SHA-256 hex helpers.
mock_kms
Production-shaped mock KMS signer.
passport
SBO3L Passport capsule structural verification (P1.1).
receipt
Policy receipt v1.
schema
JSON Schema embedding and validation. Schema files live under /schemas/ at the workspace root.
signer
Local dev Ed25519 signer + signer-backend trait.
signers
F-5: KMS abstraction. The Signer trait and a runtime factory that selects one of four backends based on the SBO3L_SIGNER_BACKEND env var:
threshold_sig
FROST threshold signatures — real frost-ed25519 integration (R14 P2).
wasm_types
Wire-shape types for the wasm-bindgen JS bridge.
webhook
Webhook signing + verification primitives.
zk_capsule
Pedersen commitments + Schnorr proof-of-knowledge for capsule privacy (R14 P1 — upgrade of #302 scaffold).

Constants§

SCHEMA_VERSION

Functions§

version