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

public Class ElGamalPublicKeySpec

extends ElGamalKeySpec
Class Inheritance
Imports
java.math.BigInteger

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

Field Summary

Modifier and TypeField and Description
private BigInteger
y

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public BigInteger

Returns:

the public value y
getY
()

Returns the public value y.

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

Field Detail

yback to summary
private BigInteger y

Constructor Detail

ElGamalPublicKeySpecback to summary
public ElGamalPublicKeySpec(BigInteger y, ElGamalParameterSpec spec)

Method Detail

getYback to summary
public BigInteger getY()

Returns the public value y.

Returns:BigInteger

the public value y