All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.security.interfaces.ElGamalParams

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.1.1.1 $

Author:
David Hopwood
See Also:
ElGamalKey, Key, Cipher, Signature

Method Index

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

Methods

 o getP
 public abstract BigInteger getP()
Returns the prime, p.

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

Returns:
the base as a java.math.BigInteger

All Packages  Class Hierarchy  This Package  Previous  Next  Index