X9ECParameters params = SECNamedCurves.getByName("secp256k1");
ECDomainParameters CURVE = new ECDomainParameters(params.getCurve(), params.getG(), params.getN(), params.getH());
ECCurve.Fp curve = (ECCurve.Fp) CURVE.getCurve();
ECFieldElement x1 = new ECFieldElement.Fp(curve.getQ(), x);
How do I get the same ECFieldElement object as above, but with the constraint that I can only use any of the following constructors.
public F2m(int m, int k1, int k2, int k3, java.math.BigInteger x);
public F2m(int m, int k, java.math.BigInteger x);
private F2m(int m, int k1, int k2, int k3, org.spongycastle.math.ec.IntArray x);
I'm no crypto expert. I don't know what all these other parameters are.