Module ssi::did_resolve
source · Expand description
Structs
- HTTPDIDResolver
http
A DID Resolver implementing a client for the DID Resolution HTTP(S) Binding. - DID Resolution Result data structure.
- Compose multiple DID resolvers in series.
Enums
- A resource returned by DID URL dereferencing
- Metadata structure “for DID resolution, DID URL dereferencing, and other DID-related processes”
Constants
invalidDid
error value for DID Resolution / DID URL Dereferencing.invalidDidUrl
error value for DID URL Dereferencing.methodNotSupported
error value for DID Resolution / DID URL Dereferencing.notFound
error value for DID URL Dereferencing.representationNotSupported
error value for DID URL Dereferencing.unauthorized
error for DID Resolution / DID URL Dereferencing.- Maximum level of recursion when following DID controller links.
- Media type for a DID Document in JSON representation.
- Media type for a DID Document in JSON-LD representation.
- Media type expected for a DID Resolution Result.
- Media type for JSON.
- Media type for JSON-LD.
- Pseudo-media-type used when returning a URL from DID URL dereferencing.
Traits
Functions
- Dereference a DID URL, according to DID Core and DID Resolution.
- Get the resolved verification method maps for a given DID (including its controllers, recursively) and verification relationship (proof purpose).
- Get the resolved verification method maps for the given DIDs (including their controllers, recursively) and verification relationship (proof purpose).
- Resolve a verificationMethod to a key
- Resolve a verificationMethod