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.

noCache (§13.2) is honoured by this layer directly — a noCache request bypasses the cached entry and is not itself cached-around, i.e. it forces a delegate round trip — while every other option, including any method-specific option this layer does not understand (versionId, versionTime), is forwarded to delegate unchanged. This layer has no basis to judge support for those; the delegate — ultimately the DID method — does.