PK_SignatureMessageEncodingMethod Class Reference

#include <pubkey.h>

Inheritance diagram for PK_SignatureMessageEncodingMethod:

EMSA5Pad< T > PKCS1v15_SignatureMessageEncodingMethod

List of all members.


Detailed Description

interface for message encoding method for public key signature schemes

Definition at line 184 of file pubkey.h.


Public Member Functions

virtual size_t MinRepresentativeBitLength (size_t hashIdentifierLength, size_t digestLength) const
virtual size_t MaxRecoverableLength (size_t representativeBitLength, size_t hashIdentifierLength, size_t digestLength) const
bool IsProbabilistic () const
bool AllowNonrecoverablePart () const
virtual bool RecoverablePartFirst () const
virtual void ProcessSemisignature (HashTransformation &hash, const byte *semisignature, size_t semisignatureLength) const
virtual void ProcessRecoverableMessage (HashTransformation &hash, const byte *recoverableMessage, size_t recoverableMessageLength, const byte *presignature, size_t presignatureLength, SecByteBlock &semisignature) const
virtual void ComputeMessageRepresentative (RandomNumberGenerator &rng, const byte *recoverableMessage, size_t recoverableMessageLength, HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, size_t representativeBitLength) const =0
virtual bool VerifyMessageRepresentative (HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, size_t representativeBitLength) const =0
virtual DecodingResult RecoverMessageFromRepresentative (HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, size_t representativeBitLength, byte *recoveredMessage) const
virtual DecodingResult RecoverMessageFromSemisignature (HashTransformation &hash, HashIdentifier hashIdentifier, const byte *presignature, size_t presignatureLength, const byte *semisignature, size_t semisignatureLength, byte *recoveredMessage) const

Classes

struct  HashIdentifierLookup

The documentation for this class was generated from the following file:

Generated on Fri Aug 8 03:50:06 2008 for Crypto++ by  doxygen 1.5.6