Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
PKCS_EncryptionPaddingScheme Class Reference

PKCS#1 v1.5 Encryption Padding Scheme. More...

#include <pkcspad.h>

Inheritance diagram for PKCS_EncryptionPaddingScheme:
[legend]
Collaboration diagram for PKCS_EncryptionPaddingScheme:
[legend]

Public Member Functions

CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName ()
 
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
 
- Public Member Functions inherited from PK_EncryptionMessageEncodingMethod
virtual ~PK_EncryptionMessageEncodingMethod ()
 
virtual bool ParameterSupported (const char *name) const
 

Detailed Description

PKCS#1 v1.5 Encryption Padding Scheme.

See also
EME-PKCS1-v1_5

Definition at line 22 of file pkcspad.h.

Member Function Documentation

size_t PKCS_EncryptionPaddingScheme::MaxUnpaddedLength ( size_t  paddedLength) const
virtual

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

Implements PK_EncryptionMessageEncodingMethod.

Definition at line 52 of file pkcspad.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PKCS_EncryptionPaddingScheme::Pad ( RandomNumberGenerator rng,
const byte raw,
size_t  inputLength,
byte padded,
size_t  paddedLength,
const NameValuePairs parameters 
) const
virtual

Implements PK_EncryptionMessageEncodingMethod.

Definition at line 57 of file pkcspad.cpp.

Here is the call graph for this function:

CRYPTOPP_STATIC_CONSTEXPR const char* PKCS_EncryptionPaddingScheme::StaticAlgorithmName ( )
inline

Definition at line 25 of file pkcspad.h.

Here is the call graph for this function:

DecodingResult PKCS_EncryptionPaddingScheme::Unpad ( const byte padded,
size_t  paddedLength,
byte raw,
const NameValuePairs parameters 
) const
virtual

Implements PK_EncryptionMessageEncodingMethod.

Definition at line 80 of file pkcspad.cpp.

Here is the call graph for this function:


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