List of usage examples for org.bouncycastle.crypto.params ECDomainParameters getSeed
public byte[] getSeed()
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()); }