Additional verification options.
Optional
challenge?: stringThe expected value of the challenge. Verification will fail in case of a mismatch.
Optional
didImplementation of resolve
compliant with W3C DID specifications.
Additionally, this function returns an id-only DID document in the case where a DID has been deleted or upgraded.
If a DID is invalid or has not been registered, this is indicated by the error
property on the didResolutionMetadata
.
The DID to resolve.
The resolution options accepted by the resolve
function as specified in the W3C DID specifications.
The resolution result for the resolve
function as specified in the W3C DID specifications.
Verifies the signature of the ICredentialPresentation. It supports migrated DIDs, meaning that if the original claim within the ICredential included a light DID that was afterwards upgraded, the signature over the presentation must be generated with the full DID in order for the verification to be successful. On the other hand, a light DID that has been migrated and then deleted from the chain will not be allowed to generate valid presentations anymore.