OAEP< H, MGF > Class Template Reference

#include <oaep.h>

Inheritance diagram for OAEP< H, MGF >:

OAEP_Base EncryptionStandard PK_EncryptionMessageEncodingMethod List of all members.

Detailed Description

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

EME-OAEP, for use with classes derived from TF_ES

Definition at line 26 of file oaep.h.

Public Types

typedef OAEP< H, MGF > EncryptionMessageEncodingMethod

Public Member Functions

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)
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

Static Public Member Functions

static std::string __cdecl StaticAlgorithmName ()

Protected Member Functions

unsigned int DigestSize () const
HashTransformationNewHash () const
MaskGeneratingFunctionNewMGF () const


The documentation for this class was generated from the following file:
Generated on Sat Dec 23 02:07:28 2006 for Crypto++ by  doxygen 1.5.1-p1