xjava.security.interfaces

Interface ElGamalParams

Known Implementing Classes:
BaseElGamalParams

public interface ElGamalParams

Interface to an ElGamal-specific set of key parameters, which defines an ElGamal key family.

The same key parameters apply to both the signature and encryption algorithms.

References

Bruce Schneier, "Section 19.6 ElGamal," Applied Cryptography, Wiley 2nd Ed, 1996.

$Revision: 1.2 $

Author:
David Hopwood

Since:
IJCE 1.0.1

See Also:
ElGamalKey, java.security.Key, java.security.Cipher, java.security.Signature

Method Summary

BigInteger
getG()
Returns the base, g.
BigInteger
getP()
Returns the prime, p.

Method Details

getG

public BigInteger getG()
Returns the base, g.

Returns:
the base as a java.math.BigInteger


getP

public BigInteger getP()
Returns the prime, p.

Returns:
the prime as a java.math.BigInteger