acdp_did/lib.rs
1//! # acdp-did — DID resolution for the Agent Context Distribution Protocol
2//!
3//! `did:web` (HTTPS-resolved, SSRF-guarded, LRU-cached) and `did:key`
4//! (pure) support per RFC-ACDP-0001 §5.11. v0.1.0 producers MUST use
5//! `did:web`.
6
7pub mod document;
8pub mod key;
9pub mod web;
10
11pub use document::{AssertionMethodRef, DidDocument, VerificationMethod};
12pub use key::{
13 did_key_from_ed25519, did_key_from_p256_sec1, did_key_url, resolve_did_key,
14 resolve_did_key_url, DidKeyMaterial,
15};
16pub use web::{authority_to_did_web, did_web_to_authority, did_web_to_url};
17
18#[cfg(feature = "client")]
19pub use web::WebResolver;