Fabcoin Core  0.16.2
P2P Digital Currency
Static Public Member Functions | Private 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...

#include <pssr.h>

Inheritance diagram for PSSR_MEM< ALLOW_RECOVERY, MGF, SALT_LEN, MIN_PAD_LEN, USE_HASH_ID >:
[legend]
Collaboration diagram for PSSR_MEM< ALLOW_RECOVERY, MGF, SALT_LEN, MIN_PAD_LEN, USE_HASH_ID >:
[legend]

Static Public Member Functions

static std::string CRYPTOPP_API StaticAlgorithmName ()
 

Private Member Functions

virtual bool AllowRecovery () const
 
virtual size_t SaltLen (size_t hashLen) const
 
virtual size_t MinPadLen (size_t hashLen) const
 
virtual const MaskGeneratingFunctionGetMGF () 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 69 of file pssr.h.

Member Function Documentation

template<bool ALLOW_RECOVERY, class MGF = P1363_MGF1, int SALT_LEN = -1, int MIN_PAD_LEN = 0, bool USE_HASH_ID = false>
virtual bool PSSR_MEM< ALLOW_RECOVERY, MGF, SALT_LEN, MIN_PAD_LEN, USE_HASH_ID >::AllowRecovery ( ) const
inlineprivatevirtual

Definition at line 71 of file pssr.h.

template<bool ALLOW_RECOVERY, class MGF = P1363_MGF1, int SALT_LEN = -1, int MIN_PAD_LEN = 0, bool USE_HASH_ID = false>
virtual const MaskGeneratingFunction& PSSR_MEM< ALLOW_RECOVERY, MGF, SALT_LEN, MIN_PAD_LEN, USE_HASH_ID >::GetMGF ( ) const
inlineprivatevirtual

Definition at line 74 of file pssr.h.

template<bool ALLOW_RECOVERY, class MGF = P1363_MGF1, int SALT_LEN = -1, int MIN_PAD_LEN = 0, bool USE_HASH_ID = false>
virtual size_t PSSR_MEM< ALLOW_RECOVERY, MGF, SALT_LEN, MIN_PAD_LEN, USE_HASH_ID >::MinPadLen ( size_t  hashLen) const
inlineprivatevirtual

Definition at line 73 of file pssr.h.

template<bool ALLOW_RECOVERY, class MGF = P1363_MGF1, int SALT_LEN = -1, int MIN_PAD_LEN = 0, bool USE_HASH_ID = false>
virtual size_t PSSR_MEM< ALLOW_RECOVERY, MGF, SALT_LEN, MIN_PAD_LEN, USE_HASH_ID >::SaltLen ( size_t  hashLen) const
inlineprivatevirtual

Definition at line 72 of file pssr.h.

template<bool ALLOW_RECOVERY, class MGF = P1363_MGF1, int SALT_LEN = -1, int MIN_PAD_LEN = 0, bool USE_HASH_ID = false>
static std::string CRYPTOPP_API PSSR_MEM< ALLOW_RECOVERY, MGF, SALT_LEN, MIN_PAD_LEN, USE_HASH_ID >::StaticAlgorithmName ( )
inlinestatic

Definition at line 77 of file pssr.h.


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