List of usage examples for org.bouncycastle.jce.spec ElGamalPrivateKeySpec getParams
public ElGamalParameterSpec getParams()
From source file:ElGamalPrivatePGKey.java
License:Open Source License
public ElGamalPrivatePGKey(ElGamalPrivateKeySpec spec) { this.x = spec.getX(); this.elSpec = new ElGamalParameterSpec(spec.getParams().getP(), spec.getParams().getG()); }