#include <cryptlib.h>
Inheritance diagram for PK_Verifier:

Public Methods | |
| virtual bool | Verify (HashModule *messageAccumulator,const byte *sig)const=0 |
| check whether sig is a valid signature for messageAccumulator, and delete messageAccumulator. More... | |
| virtual bool | VerifyMessage (const byte *message,unsigned int messageLen,const byte *sig)const |
| check whether sig is a valid signature for message. More... | |
A verifier is also a public verification key. It contains both the key and the algorithm to perform the verification.
Definition at line 611 of file cryptlib.h.
|
|
check whether sig is a valid signature for messageAccumulator, and delete messageAccumulator. Preconditions: \begin{itemize} \item messageAccumulator was obtained by calling NewMessageAccumulator() \item HashModule::Final() has not been called on messageAccumulator \item length of signature == SignatureLength() \end{itemize} Reimplemented in VerifierTemplate, and VerifierWithRecoveryTemplate. Referenced by VerifierFilter::MessageEnd(), and VerifyMessage(). |
|
|
check whether sig is a valid signature for message. Precondition: size of signature == SignatureLength() Definition at line 478 of file cryptlib.cpp. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000