• Verifies a Verifiable Presentation and the Verifiable Credentials contained within.

    This function:

    • Verifies the integrity of the presentation by verifying the embedded data integrity proofs.
    • If the presentation is valid, verifies each associated credential.
    • Checks the status of each verified credential.
    • Returns a composite verification result for the presentation and each credential.

    Parameters

    • params: {
          config?: VerificationConfig;
          presentation: VerifiablePresentation;
          verificationCriteria?: VerificationCriteria & {
              challenge?: string;
              credentials?: Pick<VerificationCriteria, "proofPurpose" | "proofTypes">;
              domain?: string;
              verifier?: Did;
          };
      }

      An object holding named arguments.

      • Optional config?: VerificationConfig

        Additional configuration (optional).

      • presentation: VerifiablePresentation

        The Verifiable Presentation to be verified.

      • Optional verificationCriteria?: VerificationCriteria & {
            challenge?: string;
            credentials?: Pick<VerificationCriteria, "proofPurpose" | "proofTypes">;
            domain?: string;
            verifier?: Did;
        }

        Verification options.

    Returns Promise<VerifyPresentationResult>

    An object containing a summary of the result (verified) as a boolean alongside detailed information on presentation and credential verification results.