resolveDID

open suspend override fun resolveDID(did: String): DIDDocument(source)

Asynchronously resolves a DID to its corresponding DID Document. This function may throw an error if the DID is invalid or the document cannot be retrieved.

Return

The DID Document associated with the DID.

Parameters

did

The DID to resolve.

Throws

if the DID is invalid or the document cannot be retrieved.