Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PK_SignatureSystemWithRecovery Class Reference

abstract base class for public-key signers and verifiers with recovery. More...

#include <cryptlib.h>

Inheritance diagram for PK_SignatureSystemWithRecovery:

PK_SignatureSystem PK_SignerWithRecovery PK_VerifierWithRecovery SignatureSystemWithRecoveryBaseTemplate SignerWithRecoveryTemplate VerifierWithRecoveryTemplate SignerWithRecoveryTemplate VerifierWithRecoveryTemplate List of all members.

Public Methods

virtual unsigned int MaximumRecoverableLength ()const=0
 length of longest message that can be fully recovered.

virtual bool AllowLeftoverMessage ()const=0
 whether or not messages longer than MaximumRecoverableLength() can be signed. More...


Detailed Description

abstract base class for public-key signers and verifiers with recovery.

In a signature scheme with recovery, a verifier is able to extract a message from its valid signature.

Definition at line 634 of file cryptlib.h.


Member Function Documentation

bool PK_SignatureSystemWithRecovery::AllowLeftoverMessage ( ) const [pure virtual]
 

whether or not messages longer than MaximumRecoverableLength() can be signed.

If this function returns false, any message longer than MaximumRecoverableLength() will be truncated for signature and will fail verification.

Reimplemented in SignatureSystemWithRecoveryBaseTemplate.


The documentation for this class was generated from the following file:
Generated at Mon Jan 15 01:16:58 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000