credibil_did/
key.rs

1//! # DID Key
2//!
3//! The `did:key` method is a DID method for static cryptographic keys. At its
4//! core, it is based on expanding a cryptographic public key into a DID
5//! Document.
6//!
7//! See:
8//!
9//! - <https://w3c-ccg.github.io/did-method-key>
10//! - <https://w3c.github.io/did-resolution>
11
12pub mod operator;
13pub mod resolver;
14
15/// `DidKey` provides a type for implementing `did:key` operation and 
16/// resolution methods. 
17#[allow(clippy::module_name_repetitions)]
18pub struct DidKey;