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

PK_SignatureSchemeWithRecovery Class Reference

#include <cryptlib.h>

Inheritance diagram for PK_SignatureSchemeWithRecovery:

PK_SignatureScheme PK_SignerWithRecovery PK_VerifierWithRecovery SignatureSystemWithRecoveryBaseTemplate< H > SignerWithRecoveryTemplate< TF, H > VerifierWithRecoveryTemplate< TF, H > SignerWithRecoveryTemplate< TF, H > VerifierWithRecoveryTemplate< TF, H > List of all members.

Detailed Description

interface 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 1304 of file cryptlib.h.

Public Member Functions

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

virtual unsigned int SignatureLength () const=0
 signature length support by this object (as either input or output)

virtual HashTransformationNewMessageAccumulator () const=0
 deprecated, please use PK_Signer::NewSignatureAccumulator or PK_Verifier::NewVerificationAccumulator instead


Member Function Documentation

virtual bool PK_SignatureSchemeWithRecovery::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.

Implemented in SignatureSystemWithRecoveryBaseTemplate< H >.


The documentation for this class was generated from the following file:
Generated on Tue Jul 8 23:35:21 2003 for Crypto++ by doxygen 1.3.2