Top Description Fields Constructors Methods
org.bouncycastle.jce.spec

public Class ElGamalPrivateKeySpec

extends ElGamalKeySpec
Class Inheritance
Imports
java.math.BigInteger

This class specifies an ElGamal private key with its associated parameters.
See Also
ElGamalPublicKeySpec

Field Summary

Modifier and TypeField and Description
private BigInteger
x

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public BigInteger

Returns:

the private value x
getX
()

Returns the private value x.

Inherited from org.bouncycastle.jce.spec.ElGamalKeySpec:
getParams

Field Detail

xback to summary
private BigInteger x

Constructor Detail

ElGamalPrivateKeySpecback to summary
public ElGamalPrivateKeySpec(BigInteger x, ElGamalParameterSpec spec)

Method Detail

getXback to summary
public BigInteger getX()

Returns the private value x.

Returns:BigInteger

the private value x