iya-sts
    Preparing search index...

    Variable checkCredential

    checkCredential: (
        vc: any,
        opts?: { atTime?: number; enveloped?: boolean; where?: string },
    ) => any = ...

    Type Declaration

      • (vc: any, opts?: { atTime?: number; enveloped?: boolean; where?: string }): any
      • Checks a credential against the data model's MUSTs.

        Parameters

        • vc: any

          the credential

        • Optionalopts: { atTime?: number; enveloped?: boolean; where?: string }

          atTime (ms) to check the validity window too, as a verifier does; enveloped to accept an EnvelopedVerifiableCredential's shape; where to name it in problems

        Returns any

        { ok, problems, warnings }