KeySpec
public class ElGamalPrivateKeySpec extends ElGamalKeySpec
ElGamalPublicKeySpec
Constructor | Description |
---|---|
ElGamalPrivateKeySpec(BigInteger x,
ElGamalParameterSpec spec) |
Modifier and Type | Method | Description |
---|---|---|
BigInteger |
getX() |
Returns the private value
x . |
getParams
public ElGamalPrivateKeySpec(BigInteger x, ElGamalParameterSpec spec)
public BigInteger getX()
x
.x