PK_SignatureMessageEncodingMethod Class Reference

#include <pubkey.h>

Inheritance diagram for PK_SignatureMessageEncodingMethod:

PK_DeterministicSignatureMessageEncodingMethod PK_RecoverableSignatureMessageEncodingMethod DL_SignatureMessageEncodingMethod_DSA DL_SignatureMessageEncodingMethod_NR EMSA2HashIdLookup< PK_DeterministicSignatureMessageEncodingMethod > EMSA5Pad< T > PKCS1v15_SignatureMessageEncodingMethod PSSR_MEM_Base EMSA2Pad EMSA2HashIdLookup< PSSR_MEM_Base > PSSR_MEM_BaseWithHashId< false > PSSR_MEM_BaseWithHashId< true > 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 ~PK_SignatureMessageEncodingMethod ()
virtual unsigned int MaxRecoverableLength (unsigned int representativeBitLength, unsigned int hashIdentifierLength, unsigned int digestLength) const
bool IsProbabilistic () const
bool AllowNonrecoverablePart () const
virtual bool RecoverablePartFirst () const
virtual void ProcessSemisignature (HashTransformation &hash, const byte *semisignature, unsigned int semisignatureLength) const
virtual void ProcessRecoverableMessage (HashTransformation &hash, const byte *recoverableMessage, unsigned int recoverableMessageLength, const byte *presignature, unsigned int presignatureLength, SecByteBlock &semisignature) const
virtual void ComputeMessageRepresentative (RandomNumberGenerator &rng, const byte *recoverableMessage, unsigned int recoverableMessageLength, HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, unsigned int representativeBitLength) const =0
virtual bool VerifyMessageRepresentative (HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, unsigned int representativeBitLength) const =0
virtual DecodingResult RecoverMessageFromRepresentative (HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, unsigned int representativeBitLength, byte *recoveredMessage) const
virtual DecodingResult RecoverMessageFromSemisignature (HashTransformation &hash, HashIdentifier hashIdentifier, const byte *presignature, unsigned int presignatureLength, const byte *semisignature, unsigned int semisignatureLength, byte *recoveredMessage) const

Classes

struct  HashIdentifierLookup


The documentation for this class was generated from the following file:
Generated on Fri Dec 16 03:04:28 2005 for Crypto++ by  doxygen 1.4.5