xjava.security.interfaces
Interface ElGamalParams

All 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 $

Since:
IJCE 1.0.1
Author:
David Hopwood
See Also:
ElGamalKey, Key, java.security.Cipher, Signature

Method Summary
 java.math.BigInteger getG()
          Returns the base, g.
 java.math.BigInteger getP()
          Returns the prime, p.
 

Method Detail

getP

public java.math.BigInteger getP()
Returns the prime, p.
Returns:
the prime as a java.math.BigInteger

getG

public java.math.BigInteger getG()
Returns the base, g.
Returns:
the base as a java.math.BigInteger