Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
DL_SignatureMessageEncodingMethod_NR Class Reference

Interface for message encoding method for public key signature schemes. More...

#include <pubkey.h>

Inheritance diagram for DL_SignatureMessageEncodingMethod_NR:
[legend]
Collaboration diagram for DL_SignatureMessageEncodingMethod_NR:
[legend]

Public Member Functions

void ComputeMessageRepresentative (RandomNumberGenerator &rng, const byte *recoverableMessage, size_t recoverableMessageLength, HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, size_t representativeBitLength) const
 
- Public Member Functions inherited from PK_DeterministicSignatureMessageEncodingMethod
bool VerifyMessageRepresentative (HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, size_t representativeBitLength) const
 
- Public Member Functions inherited from PK_SignatureMessageEncodingMethod
virtual ~PK_SignatureMessageEncodingMethod ()
 
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 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
 

Detailed Description

Interface for message encoding method for public key signature schemes.

DL_SignatureMessageEncodingMethod_NR provides interfaces for message encoding method for Nyberg-Rueppel.

Definition at line 441 of file pubkey.h.

Member Function Documentation

void DL_SignatureMessageEncodingMethod_NR::ComputeMessageRepresentative ( RandomNumberGenerator rng,
const byte recoverableMessage,
size_t  recoverableMessageLength,
HashTransformation hash,
HashIdentifier  hashIdentifier,
bool  messageEmpty,
byte representative,
size_t  representativeBitLength 
) const
virtual

Implements PK_SignatureMessageEncodingMethod.

Definition at line 103 of file gfpcrypt.cpp.

Here is the call graph for this function:


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