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

Executes the DID Resolution 1.0 §4.4 algorithm.

Step 1 (DID syntax validation) is enforced by the Did constructor and by DidMethodRegistry.resolve for string input, so this method starts at step 2.