iya-sts
    Preparing search index...

    Variable verifyEnvelope

    verifyEnvelope: (envelope: any, kind: "vc" | "vp", opts: any) => Promise<any> = ...

    Type Declaration

      • (envelope: any, kind: "vc" | "vp", opts: any): Promise<any>
      • Reads an envelope's data: URL — its media type, base64 or not — and verifies the value inside.

        Parameters

        • envelope: any

          the Enveloped credential or presentation

        • kind: "vc" | "vp"

          vc or vp

        • opts: any

          as verify() takes them

        Returns Promise<any>

        { ok, kind, document, errors, warnings }