resolve

abstract suspend 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 fun resolve(did: Did, options: ResolutionOptions): DidResolutionResult

Resolves a DID with DID Resolution 1.0 §4.1 resolution options.

Default behaviour mirrors org.trustweave.did.DidMethodResolver.resolveDid: options are validated (§4.4 step 4), unsupported method-specific options produce FEATURE_NOT_SUPPORTED (§4.4 step 3), and anything else delegates to resolve.