Lines Matching refs:ecSpec
48 private transient ECParameterSpec ecSpec;
64 this.ecSpec = key.getParams();
83 this.ecSpec = EC5Util.convertSpec(ellipticCurve, spec.getParams());
87 this.ecSpec = null;
101 this.ecSpec = spec.getParams();
111 this.ecSpec = key.ecSpec;
135 this.ecSpec = new ECParameterSpec(
145 this.ecSpec = spec;
168 this.ecSpec = new ECParameterSpec(
180 this.ecSpec = EC5Util.convertSpec(ellipticCurve, spec);
193 this.ecSpec = null;
219 ecSpec = new ECNamedCurveSpec(
230 ecSpec = null;
237 this.ecSpec = new ECParameterSpec(
287 if (ecSpec instanceof ECNamedCurveSpec)
289 ASN1ObjectIdentifier curveOid = ECUtil.getNamedCurveOid(((ECNamedCurveSpec)ecSpec).getName());
292 curveOid = new ASN1ObjectIdentifier(((ECNamedCurveSpec)ecSpec).getName());
297 else if (ecSpec == null)
303 ECCurve curve = EC5Util.convertCurve(ecSpec.getCurve());
307 EC5Util.convertPoint(curve, ecSpec.getGenerator(), withCompression),
308 ecSpec.getOrder(),
309 BigInteger.valueOf(ecSpec.getCofactor()),
310 ecSpec.getCurve().getSeed());
341 return ecSpec;
346 if (ecSpec == null)
351 return EC5Util.convertSpec(ecSpec, withCompression);
356 if (ecSpec != null)
358 return EC5Util.convertSpec(ecSpec, withCompression);