iya-sts
    Preparing search index...
    verifyProof: (securedDocument: any, options: any) => Promise<any> = ...

    Type Declaration

      • (securedDocument: any, options: any): Promise<any>
      • Verifies one proof on a document. Never throws for a wrong proof: the answer is ok: false and the check that failed.

        Parameters

        • securedDocument: any

          the secured document

        • options: any

          allowedCryptosuites, expectedPurpose, expectedChallenge, expectedDomain, now, clockSkewS, maxAgeS, createdRequired, chain and onlyProof

        Returns Promise<any>

        { ok, checks, jwk, ... }