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

PKCS#1 v1.5 Signature Encoding Scheme. More...

#include <pkcspad.h>

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

Classes

struct  HashIdentifierLookup
 

Public Member Functions

CRYPTOPP_STATIC_CONSTEXPR const char *CRYPTOPP_API StaticAlgorithmName ()
 
size_t MinRepresentativeBitLength (size_t hashIdentifierSize, size_t digestSize) const
 
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 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

PKCS#1 v1.5 Signature Encoding Scheme.

See also
EMSA-PKCS1-v1_5

Definition at line 67 of file pkcspad.h.

Member Function Documentation

void PKCS1v15_SignatureMessageEncodingMethod::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 117 of file pkcspad.cpp.

Here is the call graph for this function:

size_t PKCS1v15_SignatureMessageEncodingMethod::MinRepresentativeBitLength ( size_t  hashIdentifierSize,
size_t  digestSize 
) const
inlinevirtual

Reimplemented from PK_SignatureMessageEncodingMethod.

Definition at line 72 of file pkcspad.h.

CRYPTOPP_STATIC_CONSTEXPR const char* CRYPTOPP_API PKCS1v15_SignatureMessageEncodingMethod::StaticAlgorithmName ( )
inline

Definition at line 70 of file pkcspad.h.


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