|
bool | VerifyMessageRepresentative (HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, size_t representativeBitLength) const |
|
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 |
| Determines whether an encoding method requires a random number generator. More...
|
|
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 |
|
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_RECOVERY | flag indicating whether the scheme provides message recovery |
MGF | mask generation function |
SALT_LEN | length of the salt |
MIN_PAD_LEN | minimum length of the pad |
USE_HASH_ID | flag indicating whether the HashId is used |
If ALLOW_RECOVERY is true, the signature scheme provides message recovery. If ALLOW_RECOVERY is false, the signature scheme is appendix, and the message must be provided during verification.
- Since
- Crypto++ 2.1
Definition at line 74 of file pssr.h.