this.q = params.getQ();  if (spec == null) { this.ecSpec = new ECParameterSpec( dp.getCurve(), dp.getG(), dp.getN(), dp.getH(), dp.getSeed()); } else { this.ecSpec = spec; }
this.q = spec.getQ(); this.ecSpec = spec.getParams();
    JCEECPublicKey(        String                  algorithm,        ECPublicKeyParameters   params,        ECParameterSpec         spec)    {        ECDomainParameters      dp = params.getParameters();        this.algorithm = algorithm;        this.q = params.getQ();        if (spec == null)        {            this.ecSpec = new ECParameterSpec(                            dp.getCurve(),                            dp.getG(),                            dp.getN(),                            dp.getH(),                            dp.getSeed());        }        else        {            this.ecSpec = spec;        }    }