#include <oaep.h>
Inheritance diagram for OAEP_Base:
Definition at line 10 of file oaep.h.
Public Member Functions | |
bool | ParameterSupported (const char *name) const |
unsigned int | MaxUnpaddedLength (unsigned int 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, unsigned int inputLength, byte *padded, unsigned int paddedLength, const NameValuePairs ¶meters) const |
DecodingResult | Unpad (const byte *padded, unsigned int paddedLength, byte *raw, const NameValuePairs ¶meters) const |
Protected Member Functions | |
virtual unsigned int | DigestSize () const =0 |
virtual HashTransformation * | NewHash () const =0 |
virtual MaskGeneratingFunction * | NewMGF () const =0 |