@Test
public void testVerifyBadPlaintext() {

    byte[] badPlainText = new byte[] {(byte) 0x00};
    try {
        assertFalse(crypto.verify(pemCert, SIGNING_ALGORITHM, sig, badPlainText));
    } catch (CryptoException e) {
        fail("testVerifyBadPlaintext should not have thrown exception. Error: " + e.getMessage());
    }
}