resolve

Resolves a "did:key" DID into a DidResolutionResult, which contains the DID Document and possible related metadata.

This implementation primarily constructs a DID Document with a single verification method derived from the DID's method-specific identifier (the public key).

Return

A DidResolutionResult instance containing the DID Document and related context.

Parameters

did

The "did:key" DID that needs to be resolved.

Throws

if the provided DID does not conform to the "did:key" method.