List of usage examples for org.bouncycastle.jcajce.provider.asymmetric.util EC5Util convertCurve
public static EllipticCurve convertCurve(ECCurve curve, byte[] seed)
From source file:org.cryptacular.adapter.AbstractWrappedECKey.java
License:Open Source License
/** @return EC domain parameters. */ public ECParameterSpec getParams() { final ECDomainParameters params = delegate.getParameters(); return new ECParameterSpec(EC5Util.convertCurve(params.getCurve(), params.getSeed()), new ECPoint(params.getG().normalize().getXCoord().toBigInteger(), params.getG().normalize().getYCoord().toBigInteger()), params.getN(), params.getH().intValue()); }