@Test (expected = CryptoException.class)
public void testVerifyBadSig() throws CryptoException {

    byte[] badSig = new byte[] {(byte) 0x00};
    crypto.verify(pemCert, SIGNING_ALGORITHM, badSig, plainText);
}