|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object part7.ECPrivateKey
A class to implement a private key for ElGamal using elliptics curves.
Field Summary | |
protected ECPoint |
_b
|
protected Curve |
_c
|
protected java.math.BigInteger |
_x
|
Constructor Summary | |
ECPrivateKey(Curve c,
ECPoint b,
java.math.BigInteger x)
A constructor for an ElGamal private key (c,b,x). |
|
ECPrivateKey(ECPrivateKey key)
A copy constructor for an ElGamal private key. |
Method Summary | |
ECPoint |
decrypt(ECCipherText cipherText)
A method to decrypt the ciphertext cipherText using this private key. |
java.util.AbstractList |
MVDecrypt(MVCipherText c)
A method to decrypt the ciphertext c using this private key with
Menezes-Vanstone. |
java.lang.String |
toString()
A method to produce a string representation of this private EG key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Curve _c
protected ECPoint _b
protected java.math.BigInteger _x
Constructor Detail |
public ECPrivateKey(Curve c, ECPoint b, java.math.BigInteger x) throws java.lang.Exception
Exception.
java.lang.Exception
public ECPrivateKey(ECPrivateKey key) throws java.lang.Exception
Exception.
java.lang.Exception
Method Detail |
public ECPoint decrypt(ECCipherText cipherText) throws java.lang.Exception
cipherText
using this private key.
Exception.
java.lang.Exception
public java.util.AbstractList MVDecrypt(MVCipherText c) throws java.lang.Exception
c
using this private key with
Menezes-Vanstone.
Exception.
java.lang.Exception
public java.lang.String toString()
Exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |