Functions | |
RSA * | RSA_new (void) |
RSA * | RSA_new_method (ENGINE *engine) |
void | RSA_free (RSA *rsa) |
int | RSA_up_ref (RSA *rsa) |
const RSA_METHOD * | RSA_get_method (const RSA *rsa) |
int | RSA_set_method (RSA *rsa, const RSA_METHOD *method) |
int | RSA_set_app_data (RSA *rsa, void *arg) |
void * | RSA_get_app_data (const RSA *rsa) |
void RSA_free | ( | RSA * | rsa | ) |
Free an allocation RSA object.
rsa | the RSA object to free. |
void* RSA_get_app_data | ( | const RSA * | rsa | ) |
Get the application data for the RSA object.
rsa | the rsa object to get the parameter for |
const RSA_METHOD* RSA_get_method | ( | const RSA * | rsa | ) |
Return the RSA_METHOD used for this RSA object.
rsa | the object to get the method from. |
RSA* RSA_new | ( | void | ) |
Same as RSA_new_method() using NULL as engine.
RSA* RSA_new_method | ( | ENGINE * | engine | ) |
Allocate a new RSA object using the engine, if NULL is specified as the engine, use the default RSA engine as returned by ENGINE_get_default_RSA().
engine | Specific what ENGINE RSA provider should be used. |
int RSA_set_app_data | ( | RSA * | rsa, | |
void * | arg | |||
) |
Set the application data for the RSA object.
rsa | the rsa object to set the parameter for | |
arg | the data object to store |
int RSA_set_method | ( | RSA * | rsa, | |
const RSA_METHOD * | method | |||
) |
Set a new method for the RSA keypair.
rsa | rsa parameter. | |
method | the new method for the RSA parameter. |
int RSA_up_ref | ( | RSA * | rsa | ) |
Add an extra reference to the RSA object. The object should be free with RSA_free() to drop the reference.
rsa | the object to add reference counting too. |