List of usage examples for org.bouncycastle.crypto.params ElGamalPrivateKeyParameters getX
public BigInteger getX()
From source file:ElGamalPrivatePGKey.java
License:Open Source License
public ElGamalPrivatePGKey(ElGamalPrivateKeyParameters params) { this.x = params.getX(); this.elSpec = new ElGamalParameterSpec(params.getParameters().getP(), params.getParameters().getG()); }