iya-sts
    Preparing search index...

    Variable verifyCredentialDocument

    verifyCredentialDocument: (
        vc: any,
        options: any,
        enveloped?: boolean,
    ) => Promise<any> = ...

    Type Declaration

      • (vc: any, options: any, enveloped?: boolean): Promise<any>
      • Verifies a credential: its data model, its proofs or envelope, and its status.

        Parameters

        • vc: any

          the credential

        • options: any

          the verification options

        • Optionalenveloped: boolean

          true when an envelope this function opened already verified it; an ARGUMENT and never an option, since a caller who could set it would skip the proof check (#598)

        Returns Promise<any>

        { verified, checks, warnings, errors }