part7
Class MVCipherText
java.lang.Object
part7.MVCipherText
- public class MVCipherText
- extends java.lang.Object
A class used to represent ciphertext prodcued by the Menezes-Vanstone Cryptosystem.
Constructor Summary |
MVCipherText(ECPoint gamma,
java.math.BigInteger c1,
java.math.BigInteger c2)
|
Method Summary |
java.math.BigInteger |
getC1()
|
java.math.BigInteger |
getC2()
|
ECPoint |
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 |
MVCipherText
public MVCipherText(ECPoint gamma,
java.math.BigInteger c1,
java.math.BigInteger c2)
throws java.lang.Exception
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- A method to produce a string representation of this cipher text.
- Throws:
Exception.
getGamma
public ECPoint getGamma()
throws java.lang.Exception
- Throws:
java.lang.Exception
getC1
public java.math.BigInteger getC1()
throws java.lang.Exception
- Throws:
java.lang.Exception
getC2
public java.math.BigInteger getC2()
throws java.lang.Exception
- Throws:
java.lang.Exception