Package net.i2p.crypto.elgamal.spec
Class ElGamalPrivateKeySpec
- java.lang.Object
- 
- net.i2p.crypto.elgamal.spec.ElGamalKeySpec
- 
- net.i2p.crypto.elgamal.spec.ElGamalPrivateKeySpec
 
 
- 
- All Implemented Interfaces:
- KeySpec
 
 public class ElGamalPrivateKeySpec extends ElGamalKeySpec This class specifies an ElGamal private key with its associated parameters.- See Also:
- ElGamalPublicKeySpec
 
- 
- 
Constructor SummaryConstructors Constructor Description ElGamalPrivateKeySpec(BigInteger x, ElGamalParameterSpec spec)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegergetX()Returns the private valuex.- 
Methods inherited from class net.i2p.crypto.elgamal.spec.ElGamalKeySpecgetParams
 
- 
 
- 
- 
- 
Constructor Detail- 
ElGamalPrivateKeySpecpublic ElGamalPrivateKeySpec(BigInteger x, ElGamalParameterSpec spec) 
 
- 
 - 
Method Detail- 
getXpublic BigInteger getX() Returns the private valuex.- Returns:
- the private value x
 
 
- 
 
-