Skip to main content

Crate acdp_client

Crate acdp_client 

Source
Expand description

§acdp-client — consumer client for the Agent Context Distribution Protocol

Implements the acdp-consumer profile: RegistryClient (publish/retrieve/search/capabilities with RFC-aligned timeouts, body caps, and same-authority redirect limits), VerifiedContext (one-shot fetch + verify), CrossRegistryResolver (RFC-ACDP-0006 §4.1), and DataRef fetching with hash verification.

Re-exports§

pub use cross_registry::CrossRegistryResolver;
pub use cross_registry::ResolverOptions;
pub use data_ref::fetch_and_verify_data_ref;
pub use data_ref::DataRefFetcher;
pub use data_ref::HttpsDataRefFetcher;
pub use data_ref::DEFAULT_MAX_BYTES;
pub use log::verify_log_checkpoint_value;
pub use log::verify_log_inclusion_value;
pub use receipt::verify_lineage_head_receipt_value;
pub use receipt::verify_receipt_value;
pub use registry::RegistryClient;
pub use revocation::classify_under_revocation;
pub use revocation::find_revocations;
pub use revocation::verify_revocation_body;
pub use verified::HistoricalKeyPolicy;
pub use verified::KeyAuthorization;
pub use verified::LineageHeadPolicy;
pub use verified::ReceiptPolicy;
pub use verified::RevocationPolicy;
pub use verified::VerificationPolicy;
pub use verified::VerificationReport;
pub use verified::VerifiedContext;

Modules§

cross_registry
Cross-registry resolution per RFC-ACDP-0006 (feature = “client”).
data_ref
Data-reference fetching + hash verification (feature = “client”).
log
Client-side transparency-log verification (ACDP 0.3, RFC-ACDP-0012 §9): checkpoints (§9.3) and inclusion proofs (§9.1) against the registry’s DID document.
receipt
Client-side registry-receipt verification (ACDP 0.2, RFC-ACDP-0010).
registry
HTTP client for ACDP registries (feature = “client”).
revocation
Consumer-side key-revocation semantics (ACDP 0.3, RFC-ACDP-0014).
verified
VerifiedContext: retrieve + verify in one call.