The Verifiable Presentation to be verified.
Verification options.
Optional
challenge?: stringThe expected challenge value for the presentation, if any.
Optional
cryptosuites?: CryptoSuite<any, string, string>[]Array of cryptographic suites to use during verification (default includes suites for sr25519-jcs-2023
, eddsa-jcs-2022
, and es256k-jcs-2023
).
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.
Optional
domain?: stringExpected domain for the proof. Verification fails if mismatched.
Optional
now?: DateThe reference time for verification as Date (default is current time).
Optional
proofControls which value is expected for the proof's proofPurpose
property.
If specified, verification fails if the proof is issued for a different purpose.
Optional
tolerance?: numberThe allowed time drift in milliseconds for time-sensitive checks (default is 0).
Optional
verifier?: stringThe expected verifier for the presentation, if any.
An object representing the verification results of the presentation proofs.
Verifies the proofs on a Verifiable Presentation. Does not verify the credentials contained within.