resolve
Resolves a DID to its corresponding DID Document.
Return
An optional containing the DID Document associated with the DID, or an empty optional if the document cannot be retrieved.
Parameters
did
The DID to resolve.
Throws
if the JWK keys are not in a valid format.