iya-sts
    Preparing search index...

    Variable pkinitPaChecksum2Matches

    pkinitPaChecksum2Matches: (reqBodyBytes: any, oid: any, claimed: any) => any = pkinitPaChecksum2Matches

    Type Declaration

      • (reqBodyBytes: any, oid: any, claimed: any): any
      • Computes MS-PKCA's PAChecksum2 — the KDC-REQ-BODY's digest under the algorithm it names — and compares it with the one a request carries in constant time. The caller has already decided the algorithm is acceptable.

        Parameters

        • reqBodyBytes: any

          the KDC-REQ-BODY as it arrived

        • oid: any

          the PAChecksum2's algorithm OID, dotted

        • claimed: any

          the PAChecksum2's checksum

        Returns any

        true when they agree

        Error for an OID not in PKINIT_PACHECKSUM2_DIGESTS