# Packages

No description provided by the author

# Functions

NewDid returns did given the did URL in the form found: https://www.w3.org/TR/did-core/#did-url-syntax e.g.
NewDIDPublicKeyProvider returns a provider which fetches a did web key To customize the key fetch (or for testing purposes), provide a non-nil didWeb.
NewDidWeb creates a new DID web.
WithWebGetter sets the web getter, that gets the did document from the web.

# Constants

No description provided by the author

# Variables

ErrNoVerificationMethodId occurs when a did verification method id is empty.
No description provided by the author

# Structs

did is a Decentralised Identity (DID) https://www.w3.org/TR/did-core/.
No description provided by the author
didweb is the did web method implementation: https://w3c-ccg.github.io/did-method-web/.
Document represents a DID Document as specified by the DID Core specification (https://www.w3.org/TR/did-core/).
ErrDiDKeyNotFound occurs when a did document does not contain the given key in the verification method list.
ErrMalformedDIDId occurs when a did id is not in the expected format, expected format is host:{path} e.g.
ErrUnsupportedDIDMethod occurs when a did url has an unsupported method, e.g.
VerificationMethod represents a DID Verification Method as specified by the DID Core specification (https://www.w3.org/TR/did-core/#verification-methods).