iya-sts
    Preparing search index...
    verify: (form: string, secured: any, kind: string, opts: any) => Promise<any> = ...

    Type Declaration

      • (form: string, secured: any, kind: string, opts: any): Promise<any>
      • Verifies one secured value. Never throws.

        Parameters

        • form: string

          jwt, sdjwt or cose

        • secured: any

          the secured value

        • kind: string

          vc or vp expected, or '' for either

        • opts: any

          { verificationMethod }

        Returns Promise<any>

        { ok, kind, document, errors, warnings }