|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object part3.EGPublicKey part6.EGVerificationKey
Field Summary |
Fields inherited from class part3.EGPublicKey |
_g, _p, _y |
Constructor Summary | |
EGVerificationKey(java.math.BigInteger p,
java.math.BigInteger g,
java.math.BigInteger y)
|
|
EGVerificationKey(EGPublicKey key)
|
Method Summary | |
boolean |
verify(EGSignature s,
java.lang.String str,
HashFunction hash)
A method to validate the signature s of a string str using the hash function hash . |
Methods inherited from class part3.EGPublicKey |
encrypt, encrypt, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EGVerificationKey(java.math.BigInteger p, java.math.BigInteger g, java.math.BigInteger y) throws java.lang.Exception
public EGVerificationKey(EGPublicKey key) throws java.lang.Exception
Method Detail |
public boolean verify(EGSignature s, java.lang.String str, HashFunction hash) throws java.lang.Exception
s
of a string str
using the hash function hash
.
Exception.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |