resolve
Resolves a DID using a registered method.
Delegates to a RegistryBasedResolver over this registry (after the syntax check below) so that the full DID Resolution 1.0 §4.4 algorithm applies from this entry point too: §4.4 step 2 method lookup, the §4.4 deactivation conversion, and the §4 resolved-document-id equality check — and any org.trustweave.did.exception.DidException a method implementation throws is converted to a DidResolutionResult.Failure rather than escaping, matching the "return an error result, never raise" contract every other resolver in this module honours.
Return
DidResolutionResult — returns DidResolutionResult.Failure.InvalidFormat for malformed DIDs, DidResolutionResult.Failure.MethodNotRegistered if the method is not registered
Parameters
The DID string to resolve