Skip to main content

Crate didwebvh_rs

Crate didwebvh_rs 

Source
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:webvh URLs and HTTP URLs.
validate
Highest level validation logic for a webvh entry
witness
Handling of witnessing changes to the log entries

Structs§

DIDWebVHState
Information relating to a webvh DID

Enums§

DIDWebVHError
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.

Attribute Macros§

async_trait