List of usage examples for org.bouncycastle.jce.spec ElGamalPrivateKeySpec getX
public BigInteger getX()
x
. 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()); }