• Verifies a Verifiable Credential and checks its revocation status.

    This function:

    • Verifies the integrity and authenticity of the data contained in the credential by verifying its proof.
    • Checks the revocation status of a verified credential.
    • Returns a verification result containing proof and status verification results.

    Parameters

    • params: {
          config?: VerificationConfig;
          credential: VerifiableCredential;
          verificationCriteria?: VerificationCriteria;
      }

      Holds all named parameters.

      • Optional config?: VerificationConfig

        Additional configuration (optional).

      • credential: VerifiableCredential

        The Verifiable Credential to be verified.

      • Optional verificationCriteria?: VerificationCriteria

        Verification options.

    Returns Promise<VerifyCredentialResult>

    An object containing a summary of the result (verified) as a boolean alongside any potential errors and detailed information on proof verification results and credential status.