class ECKey implements Serializable {

    public static byte[] publicKeyFromPrivate(BigInteger privKey, boolean compressed) {
        ECPoint point = CURVE.getG().multiply(privKey);
        return point.getEncoded(compressed);
    }

    public  ECKey();
    public  ECKey(Provider provider, SecureRandom secureRandom);
    public  ECKey(SecureRandom secureRandom);
    public  ECKey(Provider provider, @Nullable PrivateKey privKey, ECPoint pub);
    public  ECKey(@Nullable BigInteger priv, ECPoint pub);

}