Crypto++ 8.7
Free C++ class library of cryptographic schemes
Public Types | Static Public Member Functions | List of all members
OAEP< H, MGF > Class Template Reference

OAEP padding. More...

#include <oaep.h>

+ Inheritance diagram for OAEP< H, MGF >:

Public Types

typedef OAEP< H, MGF > EncryptionMessageEncodingMethod
 

Static Public Member Functions

static std::string StaticAlgorithmName ()
 

Additional Inherited Members

- Public Member Functions inherited from OAEP_Base
bool ParameterSupported (const char *name) const
 
size_t MaxUnpaddedLength (size_t paddedLength) const
 max size of unpadded message in bytes, given max size of padded message in bits (1 less than size of modulus) More...
 
void Pad (RandomNumberGenerator &rng, const byte *raw, size_t inputLength, byte *padded, size_t paddedLength, const NameValuePairs &parameters) const
 
DecodingResult Unpad (const byte *padded, size_t paddedLength, byte *raw, const NameValuePairs &parameters) const
 
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

template<class H, class MGF = P1363_MGF1>
class OAEP< H, MGF >

OAEP padding.

Template Parameters
HHashTransformation derived class
MGFMaskGeneratingFunction derived class
See also
EME-OAEP, for use with classes derived from TF_ES
Since
Crypto++ 2.1

Definition at line 38 of file oaep.h.

Member Typedef Documentation

◆ EncryptionMessageEncodingMethod

template<class H , class MGF = P1363_MGF1>
typedef OAEP<H, MGF> OAEP< H, MGF >::EncryptionMessageEncodingMethod

Definition at line 42 of file oaep.h.

Member Function Documentation

◆ StaticAlgorithmName()

template<class H , class MGF = P1363_MGF1>
static std::string OAEP< H, MGF >::StaticAlgorithmName ( )
inlinestatic

Definition at line 41 of file oaep.h.


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