resolve

open suspend override fun resolve(did: Did): DidResolutionResult

Resolves a DID to a DID resolution result.

This method always returns a DidResolutionResult, never null. If a DID cannot be resolved, it returns DidResolutionResult.Failure.NotFound.

Return

DidResolutionResult - always non-null (use NotFound for unresolvable DIDs)

Parameters

did

Type-safe DID identifier


open suspend override fun resolve(did: Did, options: ResolutionOptions): DidResolutionResult

Resolves with DID Resolution 1.0 §4.1 options, forwarded unchanged to whichever of localResolver, methodSpecificResolvers or universalResolver ends up answering — same three-stage precedence as the single-argument resolve. Each stage is itself a DidResolver and independently responsible for judging support for the options it receives (e.g. reporting FEATURE_NOT_SUPPORTED for a versionId it cannot honour); this strategy does not interpret options itself beyond forwarding them.