|
CXI
|
Constructs a mechanism parameter that can be used on RSA encryption operations with the PKCS#1, v2.1 RSAES-OAEP encryption / decryption padding scheme. More...
Public Member Functions | |
| MechParamOAEP (int mech, int mgf_algo, const std::string &label) | |
| MechanismParameter | getEncoded (void) |
Public Member Functions inherited from MechParam | |
| MechParam (int mech) | |
| Constructs a mechanism parameter with the given mechanism specifier. More... | |
| MechanismParameter | getEncoded (void) |
Constructs a mechanism parameter that can be used on RSA encryption operations with the PKCS#1, v2.1 RSAES-OAEP encryption / decryption padding scheme.
The following example illustrates the usage of the MechParamOAEP class:
| MechParamOAEP | ( | int | mech, |
| int | mgf_algo, | ||
| const std::string & | label | ||
| ) |
Constructs a mechanism specifier and parameter for PKCS#1, v2.1 RSAES-OAEP encryption / decryption padding scheme.
| mech | mechanism specifier, XOR combination of:
|
| mgf_algo | algorithm specifier for the MGF algorithm to be used, see Hash Algorithms |
| label | label string to be used |
| MechanismParameter getEncoded | ( | void | ) |