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

Public Methods | |
| virtual void | Sign (RandomNumberGenerator &rng,HashModule *messageAccumulator,byte *signature)const=0 |
| sign and delete messageAccumulator. More... | |
| virtual void | SignMessage (RandomNumberGenerator &rng,const byte *message,unsigned int messageLen,byte *signature)const |
| sign a message. More... | |
A signer is also a private signature key. It contains both the key and the algorithm to perform the signature.
Definition at line 581 of file cryptlib.h.
|
|
sign and delete messageAccumulator. Preconditions: \begin{itemize} \item messageAccumulator was obtained by calling NewMessageAccumulator() \item HashModule::Final() has not been called on messageAccumulator \item size of signature == SignatureLength() \end{itemize} Reimplemented in SignerTemplate, and SignerWithRecoveryTemplate. Referenced by SignerFilter::MessageEnd(), and SignMessage(). |
|
|
sign a message. Precondition: size of signature == SignatureLength() Definition at line 471 of file cryptlib.cpp. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000