Code example for ECFieldF2m

0
        // test case 7: not equal objects - field class 
        c1 = new EllipticCurve(new ECFieldFp(BigInteger.valueOf(23L)),
                BigInteger.ONE,
                BigInteger.valueOf(19L),
                new byte[24]); 
        c2 = new EllipticCurve(new ECFieldF2m(5),
                BigInteger.ONE,
                BigInteger.valueOf(19L),
                new byte[24]); 
        assertFalse(c1.equals(c2) || c2.equals(c1));
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE