      function _checkBadDigestInfo(publicKey, S, skipTailingGarbage) {
        var md = MD.sha256.create();
        md.update(m);

        ASSERT.throws(function() {
          publicKey.verify(md.digest().getBytes(), S, undefined, {
            _parseAllDigestBytes: !skipTailingGarbage
          });
        }, {
          message: 'ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value.'
        });
      }
The software does not verify, or incorrectly verifies, the cryptographic signature for data.