|
CXI
|
Constructs a mechanism parameter for PKCS#1, v2.1 RSAES-PSS signature creation / verification padding scheme. More...
Public Member Functions | |
| MechParamPSS (int mech, int mgf_algo, int salt_len) | |
| 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 for PKCS#1, v2.1 RSAES-PSS signature creation / verification padding scheme.
The following example illustrates the usage of the MechParamPSS class:
| MechParamPSS | ( | int | mech, |
| int | mgf_algo, | ||
| int | salt_len | ||
| ) |
Constructs a mechanism parameter for PKCS#1, v2.1 RSAES-PSS signature creation / verification padding scheme.
| mech | mechanism specifier, XOR combination of:
|
| mgf_algo | algorithm specifier for the MGF algorithm to be used, see Hash Algorithms |
| salt_len | length of the random salt value to be generated |
| MechanismParameter getEncoded | ( | void | ) |