iya-sts
    Preparing search index...

    Variable verifyThresholdSignatures

    verifyThresholdSignatures: (
        signed: any,
        signatures: any,
        keys: any,
        role: any,
    ) => Promise<{ ok: boolean; threshold: number; valid: number }> = verifyThresholdSignatures

    Type Declaration

      • (
            signed: any,
            signatures: any,
            keys: any,
            role: any,
        ): Promise<{ ok: boolean; threshold: number; valid: number }>
      • Applies TUF's threshold rule over one role's signatures.

        Parameters

        • signed: any

          the signed metadata

        • signatures: any

          the signatures

        • keys: any

          the root's key table

        • role: any

          { keyids, threshold }

        Returns Promise<{ ok: boolean; threshold: number; valid: number }>

        a promise of { ok, valid, threshold }