Expand description
DID method for Web with Verifiable History See WebVH Spec
Re-exports§
pub use multibase_type::Multibase;pub use affinidi_secrets_resolver;
Modules§
- create
- Library API for creating a new webvh DID programmatically. Encapsulates the DID creation flow (log entry creation, validation, witness signing) without any interactive prompts.
- did_web
- Handles converting a WebVH DID to a Web DID Document
- log_
entry - Webvh utilizes Log Entries for each version change of the DID Document.
- log_
entry_ state - Manages per-entry validation state during DID log processing.
- multibase_
type - Newtype wrapper for multibase-encoded public key strings.
- parameters
- Each WebVH LogEntry requires Parameters that help define behaviour of the DID
- prelude
- Convenience re-exports for common types.
- resolve
- Resolving WebVH DID’s logic is handled here
- url
- Parsing and conversion of
did:webvhURLs and HTTP URLs. - validate
- Highest level validation logic for a webvh entry
- witness
- Handling of witnessing changes to the log entries
Structs§
- DIDWebVH
State - Information relating to a webvh DID
Enums§
- DIDWebVH
Error - Error types for WebVH method
- KeyType
- Known cryptographic key types
- Version
- WebVH Specification supports multiple LogEntry versions in the same DID
Constants§
- SCID_
HOLDER - Magic string used for first LogEntry
Traits§
- Signer
- Trait for abstracting the signing operation.