org.bouncycastle.jce.spec
Class ElGamalPublicKeySpec

java.lang.Object
  extended by org.bouncycastle.jce.spec.ElGamalKeySpec
      extended by org.bouncycastle.jce.spec.ElGamalPublicKeySpec
All Implemented Interfaces:
java.security.spec.KeySpec

public class ElGamalPublicKeySpec
extends ElGamalKeySpec

This class specifies an ElGamal public key with its associated parameters.

See Also:
ElGamalPrivateKeySpec

Field Summary
private  java.math.BigInteger y
           
 
Constructor Summary
ElGamalPublicKeySpec(java.math.BigInteger y, ElGamalParameterSpec spec)
           
 
Method Summary
 java.math.BigInteger getY()
          Returns the public value y.
 
Methods inherited from class org.bouncycastle.jce.spec.ElGamalKeySpec
getParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

y

private java.math.BigInteger y
Constructor Detail

ElGamalPublicKeySpec

public ElGamalPublicKeySpec(java.math.BigInteger y,
                            ElGamalParameterSpec spec)
Method Detail

getY

public java.math.BigInteger getY()
Returns the public value y.

Returns:
the public value y