|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object part7.ECKeyPair
A class to generate a key-pair for ElGamal using elliptics curves.
Constructor Summary | |
ECKeyPair(Curve c,
ECPoint b,
java.security.SecureRandom rnd)
A constructor that generates an ElGamal key-pair from the curce c
and base point b . |
Method Summary | |
ECPrivateKey |
getPrivate()
A method to return the private key of an ElGamal key-pair. |
ECPublicKey |
getPublic()
A method to return the public key of an ElGamal key-pair. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ECKeyPair(Curve c, ECPoint b, java.security.SecureRandom rnd) throws java.lang.Exception
c
and base point b
.
Exception.
java.lang.Exception
Method Detail |
public ECPublicKey getPublic() throws java.lang.Exception
Exception.
java.lang.Exception
public ECPrivateKey getPrivate() throws java.lang.Exception
Exception.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |