|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object part3.EGPrivateKey part6.EGSignatureKey
Field Summary |
Fields inherited from class part3.EGPrivateKey |
_g, _p, _x |
Constructor Summary | |
EGSignatureKey(java.math.BigInteger p,
java.math.BigInteger g,
java.math.BigInteger x)
|
|
EGSignatureKey(EGPrivateKey key)
|
Method Summary | |
EGSignature |
sign(java.lang.String str,
HashFunction hash,
PRNG prng)
A method to sign a string str using the hash function hash
and pseudo-random number generator prng . |
Methods inherited from class part3.EGPrivateKey |
decrypt, decrypt, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EGSignatureKey(java.math.BigInteger p, java.math.BigInteger g, java.math.BigInteger x) throws java.lang.Exception
public EGSignatureKey(EGPrivateKey key) throws java.lang.Exception
Method Detail |
public EGSignature sign(java.lang.String str, HashFunction hash, PRNG prng) throws java.lang.Exception
str
using the hash function hash
and pseudo-random number generator prng
.
Exception.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |