OAEP padding base class.
More...
#include <oaep.h>
|
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 ¶meters) const |
|
DecodingResult | Unpad (const byte *padded, size_t paddedLength, byte *raw, const NameValuePairs ¶meters) 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)
|
|
virtual void | Pad (RandomNumberGenerator &rng, const byte *raw, size_t inputLength, byte *padded, size_t paddedBitLength, const NameValuePairs ¶meters) const =0 |
|
virtual DecodingResult | Unpad (const byte *padded, size_t paddedBitLength, byte *raw, const NameValuePairs ¶meters) const =0 |
|
OAEP padding base class.
- Since
- Crypto++ 2.1
Definition at line 18 of file oaep.h.
◆ ParameterSupported()
bool OAEP_Base::ParameterSupported |
( |
const char * |
name | ) |
const |
|
inlinevirtual |
◆ MaxUnpaddedLength()
size_t OAEP_Base::MaxUnpaddedLength |
( |
size_t |
paddedLength | ) |
const |
|
virtual |
◆ Pad()
◆ Unpad()
The documentation for this class was generated from the following file: