Did Dht
Provides a specific implementation for creating and resolving "did:dht" method Decentralized Identifiers (DIDs).
A "did:dht" DID is a special type of DID that is based on an identity key, but can be extended to contain other keys, services, and other DID Document properties. It relies upon Distributed Hash Table (DHT) provided by the BitTorrent network, and an intermediary layer called Pkarr (Public Key Addressable Records) to store and retrieve the DID Document.
Types
Properties
The DidDocument associated with the DID, created by the class.
A KeyManager instance utilized to manage the cryptographic keys associated with the DID.
Functions
Calls DidDht.fromDnsPacket with the provided did and msg and returns the result.
Calls DidDht.toDnsPacket with the provided didDocument and types and returns the result.
Calls DidDht.validate with the provided did.