Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
PK_EncryptionMessageEncodingMethod Class Referenceabstract

Message encoding method for public key encryption. More...

#include <pubkey.h>

Inheritance diagram for PK_EncryptionMessageEncodingMethod:
[legend]

Public Member Functions

virtual ~PK_EncryptionMessageEncodingMethod ()
 
virtual bool ParameterSupported (const char *name) const
 
virtual size_t MaxUnpaddedLength (size_t paddedLength) const =0
 max size of unpadded message in bytes, given max size of padded message in bits (1 less than size of modulus) More...
 
virtual void Pad (RandomNumberGenerator &rng, const byte *raw, size_t inputLength, byte *padded, size_t paddedBitLength, const NameValuePairs &parameters) const =0
 
virtual DecodingResult Unpad (const byte *padded, size_t paddedBitLength, byte *raw, const NameValuePairs &parameters) const =0
 

Detailed Description

Message encoding method for public key encryption.

Definition at line 214 of file pubkey.h.

Constructor & Destructor Documentation

virtual PK_EncryptionMessageEncodingMethod::~PK_EncryptionMessageEncodingMethod ( )
inlinevirtual

Definition at line 217 of file pubkey.h.

Member Function Documentation

virtual size_t PK_EncryptionMessageEncodingMethod::MaxUnpaddedLength ( size_t  paddedLength) const
pure virtual

max size of unpadded message in bytes, given max size of padded message in bits (1 less than size of modulus)

Implemented in PKCS_EncryptionPaddingScheme, and OAEP_Base.

virtual void PK_EncryptionMessageEncodingMethod::Pad ( RandomNumberGenerator rng,
const byte raw,
size_t  inputLength,
byte padded,
size_t  paddedBitLength,
const NameValuePairs parameters 
) const
pure virtual
virtual bool PK_EncryptionMessageEncodingMethod::ParameterSupported ( const char *  name) const
inlinevirtual

Reimplemented in OAEP_Base.

Definition at line 219 of file pubkey.h.

Here is the call graph for this function:

virtual DecodingResult PK_EncryptionMessageEncodingMethod::Unpad ( const byte padded,
size_t  paddedBitLength,
byte raw,
const NameValuePairs parameters 
) const
pure virtual

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