part3
Class EGCipherText

java.lang.Object
  extended bypart3.EGCipherText

public class EGCipherText
extends java.lang.Object

A class used to represent ElGamal ciphertext.


Constructor Summary
EGCipherText(java.math.BigInteger gamma, java.math.BigInteger delta)
           
 
Method Summary
 java.math.BigInteger getDelta()
           
 java.math.BigInteger getGamma()
           
 java.lang.String toString()
          A method to produce a string representation of this cipher text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EGCipherText

public EGCipherText(java.math.BigInteger gamma,
                    java.math.BigInteger delta)
             throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

toString

public java.lang.String toString()
A method to produce a string representation of this cipher text.

Throws:
Exception.

getGamma

public java.math.BigInteger getGamma()
                              throws java.lang.Exception
Throws:
java.lang.Exception

getDelta

public java.math.BigInteger getDelta()
                              throws java.lang.Exception
Throws:
java.lang.Exception