Code example for ECPoint

0
     */ 
    static final ECParameterSpec ecParam = new ECParameterSpec(
            new EllipticCurve(
                    new ECFieldFp(BigInteger.valueOf(23)),
                    BigInteger.valueOf(5), BigInteger.valueOf(3)),
            new ECPoint(BigInteger.valueOf(1), BigInteger.valueOf(3)),
            BigInteger.valueOf(23), 1);
 
    private Util() { 
    } 
} 
 
/** 
 * Utility class to provide "random" data. 
 * Returned value is always constant 10 if converted to BigInteger 
 */ 
@SuppressWarnings("serial") 
class MySecureRandomSpi extends SecureRandomSpi {
 
    @Override 
    protected byte[] engineGenerateSeed(int arg0) {