agent-toolprint 0.1.0

Double-signed receipts for AI-agent tool invocations — DSSE + JCS + Ed25519, verifiable offline (Rust port of @p-vbordei/agent-toolprint)
Documentation
//! agent-toolprint — double-signed receipts for AI-agent tool invocations.
//!
//! Rust port of [`@p-vbordei/agent-toolprint`](https://github.com/p-vbordei/agent-toolprint).
//! Byte-deterministic-compatible: passes the same C1/C2/C3/C4 conformance vectors
//! as the TypeScript reference.

pub mod canonical;
pub mod chain;
pub mod did_key;
pub mod envelope;
pub mod error;
pub mod sign;
pub mod types;
pub mod verify;

pub use canonical::{canonical, sha256_hash};
pub use chain::chain;
pub use did_key::{did_key_from_ed25519_pubkey, parse_did_key, DidKeyResolver, Resolver};
pub use envelope::{envelope_pae_bytes, envelope_payload_bytes, new_envelope, pae_encode};
pub use error::Error;
pub use sign::{countersign_tool, ed25519_sign, sign_agent};
pub use types::{validate_envelope, validate_receipt, PAYLOAD_TYPE, PROTOCOL_VERSION};
pub use verify::{verify, Plaintext, VerifyOptions, VerifyResult};