All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.provider.elgamal.BaseElGamalParams

java.lang.Object
   |
   +----cryptix.provider.elgamal.BaseElGamalParams

public class BaseElGamalParams
extends Object
implements ElGamalParams
Class representing 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:

  1. Bruce Schneier, "Section 19.6 ElGamal," Applied Cryptography, 2nd Edition, John Wiley & Sons, 1996.

  2. IEEE P1363 draft standard, http://stdsbbs.ieee.org/groups/1363/index.html

Copyright © 1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.1 $

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

Variable Index

 o g
 o p

Constructor Index

 o BaseElGamalParams(BigInteger, BigInteger)
Construct an ElGamalParams object with the specified prime p, and base g.

Method Index

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

Variables

 o p
 protected BigInteger p
 o g
 protected BigInteger g

Constructors

 o BaseElGamalParams
 public BaseElGamalParams(BigInteger p,
                          BigInteger g)
Construct an ElGamalParams object with the specified prime p, and base g.

Methods

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

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

Returns:
the base as a java.math.BigInteger

All Packages  Class Hierarchy  This Package  Previous  Next  Index