if (curve instanceof ECCurve.Fp)
X9Curve     x9c = new X9Curve( new X9FieldID((ASN1Sequence)seq.getObjectAt(1)), (ASN1Sequence)seq.getObjectAt(2));  this.curve = x9c.getCurve(); this.g = new X9ECPoint(curve, (ASN1OctetString)seq.getObjectAt(3)).getPoint(); this.n = ((DERInteger)seq.getObjectAt(4)).getValue(); this.seed = x9c.getSeed();  if (seq.size() == 6)
    public X9ECParameters(        ECCurve     curve,        ECPoint     g,        BigInteger  n,        BigInteger  h,        byte[]      seed)    {        this.curve = curve;        this.g = g;        this.n = n;        this.h = h;        this.seed = seed;        if (curve instanceof ECCurve.Fp)        {            this.fieldID = new X9FieldID(prime_field, ((ECCurve.Fp)curve).getQ());        }        else        {            this.fieldID = new X9FieldID(characteristic_two_field, null);        }    }