Crypto++  5.6.4
Free C++ class library of cryptographic schemes
Static Public Member Functions | List of all members
PSSR_MEM< ALLOW_RECOVERY, MGF, SALT_LEN, MIN_PAD_LEN, USE_HASH_ID > Class Template Reference

PSSR Message Encoding Method. More...

+ Inheritance diagram for PSSR_MEM< ALLOW_RECOVERY, MGF, SALT_LEN, MIN_PAD_LEN, USE_HASH_ID >:

Static Public Member Functions

static std::string StaticAlgorithmName ()
 

Additional Inherited Members

- Public Member Functions inherited from PSSR_MEM_Base
size_t MinRepresentativeBitLength (size_t hashIdentifierLength, size_t digestLength) const
 
size_t MaxRecoverableLength (size_t representativeBitLength, size_t hashIdentifierLength, size_t digestLength) const
 
bool IsProbabilistic () const
 
bool AllowNonrecoverablePart () const
 
bool RecoverablePartFirst () const
 
void ComputeMessageRepresentative (RandomNumberGenerator &rng, const byte *recoverableMessage, size_t recoverableMessageLength, HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, size_t representativeBitLength) const
 
DecodingResult RecoverMessageFromRepresentative (HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, size_t representativeBitLength, byte *recoverableMessage) const
 
- Public Member Functions inherited from PK_RecoverableSignatureMessageEncodingMethod
bool VerifyMessageRepresentative (HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, size_t representativeBitLength) const
 
- Public Member Functions inherited from PK_SignatureMessageEncodingMethod
bool IsProbabilistic () const
 
bool AllowNonrecoverablePart () 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 DecodingResult RecoverMessageFromSemisignature (HashTransformation &hash, HashIdentifier hashIdentifier, const byte *presignature, size_t presignatureLength, const byte *semisignature, size_t semisignatureLength, byte *recoveredMessage) const
 

Detailed Description

template<bool ALLOW_RECOVERY, class MGF = P1363_MGF1, int SALT_LEN = -1, int MIN_PAD_LEN = 0, bool USE_HASH_ID = false>
class PSSR_MEM< ALLOW_RECOVERY, MGF, SALT_LEN, MIN_PAD_LEN, USE_HASH_ID >

PSSR Message Encoding Method.

Template Parameters
ALLOW_RECOVERYflag indicating whether the scheme provides message recovery
MGFmask generation function
SALT_LENlength of the salt
MIN_PAD_LENminimum length of the pad
USE_HASH_IDflag indicating whether the HashId is used

If ALLOW_RECOVERY is true, the the signature scheme provides message recovery. If ALLOW_RECOVERY is false, the the signature scheme is appendix, and the message must be provided during verification.

Definition at line 71 of file pssr.h.


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