baseid_did/lib.rs
1//! # baseid-did
2//!
3//! DID (Decentralized Identifier) resolution, creation, and management.
4//!
5//! Implements [W3C DID Core 1.0](https://www.w3.org/TR/did-core/) with support
6//! for the following DID methods:
7//!
8//! | Method | Priority | Description |
9//! |------------|----------|--------------------------------------|
10//! | `did:key` | P0 (M1) | Self-contained, ephemeral identities |
11//! | `did:web` | P0 (M1) | HTTPS-based organizational DIDs |
12//! | `did:jwk` | P0 (M2) | JWK-based DIDs for OID4VC flows |
13//! | `did:webvh`| P1 (M3) | Trust DID Web with verifiable history |
14//! | `did:peer` | P1 (M3) | Peer DIDs for DIDComm |
15//! | `did:pkh` | P2 (M4) | Blockchain address-based DIDs |
16
17pub mod document;
18pub mod methods;
19pub mod resolution;
20pub mod url;
21
22pub use document::{
23 DidDocument, Service, ServiceEndpoint, VerificationMethod, VerificationRelationship,
24};
25pub use methods::jwk::DidJwkResolver;
26pub use methods::key::DidKeyResolver;
27pub use methods::peer::DidPeerResolver;
28pub use methods::web::{did_to_url, DidWebResolver};
29pub use methods::webvh::{DidWebvhResolver, WebvhLogEntry, WebvhParameters};
30pub use resolution::{DidResolver, ResolutionMetadata, ResolutionResult};
31pub use url::DidUrl;