iya-sts
    Preparing search index...

    Variable verifyX509Signature

    verifyX509Signature: (
        tbs: any,
        signatureValue: any,
        publicKeyInfo: any,
        signatureAlgorithm: any,
    ) => Promise<any> = verifyX509Signature

    Type Declaration

      • (
            tbs: any,
            signatureValue: any,
            publicKeyInfo: any,
            signatureAlgorithm: any,
        ): Promise<any>
      • Verifies the signature on a CRL's or OCSP response's TBS bytes.

        Parameters

        • tbs: any

          the signed bytes

        • signatureValue: any

          the signature, as an asn1js BIT STRING

        • publicKeyInfo: any

          the signer's pkijs PublicKeyInfo

        • signatureAlgorithm: any

          the pkijs AlgorithmIdentifier

        Returns Promise<any>

        a promise of whether it verifies; throws what the engine throws for a key it cannot use with the algorithm, which callers read as "not this key"