table of contents
hcrypto_rsa(3) | Heimdal crypto library | hcrypto_rsa(3) |
NAME¶
hcrypto_rsa - RSA functions
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)
Detailed Description¶
See the RSA - public-key cryptography for description and examples.
Function Documentation¶
void RSA_free (RSA * rsa)¶
Free an allocation RSA object.
Parameters:
void* RSA_get_app_data (const RSA * rsa)¶
Get the application data for the RSA object.
Parameters:
Returns:
const RSA_METHOD* RSA_get_method (const RSA * rsa)¶
Return the RSA_METHOD used for this RSA object.
Parameters:
Returns:
RSA* RSA_new (void)¶
Same as RSA_new_method() using NULL as engine.
Returns:
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().
Parameters:
Returns:
int RSA_set_app_data (RSA * rsa, void * arg)¶
Set the application data for the RSA object.
Parameters:
arg the data object to store
Returns:
int RSA_set_method (RSA * rsa, const RSA_METHOD * method)¶
Set a new method for the RSA keypair.
Parameters:
method the new method for the RSA parameter.
Returns:
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.
Parameters:
Returns:
Author¶
Generated automatically by Doxygen for Heimdal crypto library from the source code.
Tue Jul 11 2017 | Version 7.4.0 |