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

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