resolveDid

abstract suspend fun resolveDid(did: Did): DidResolutionResult

Resolves a DID to its DID Document with empty resolution options.

Return

A org.trustweave.did.resolver.DidResolutionResult containing the document and metadata

Parameters

did

Type-safe DID identifier


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

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

The default implementation satisfies §4.4 steps 3 and 4 for methods that do not implement versioning or cache control: invalid options yield INVALID_OPTIONS, unsupported method-specific options yield FEATURE_NOT_SUPPORTED, and everything else delegates to resolveDid. Methods that support versionId, versionTime or noCache override this.