RSA_new_method

Allocate an RSA object that uses engine's RSA method (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
RSA*
RSA_new_method(ENGINE* engine);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

New RSA, or NULL on error; free with RSA_free().

Parameters

NameDescription
engineENGINE providing the RSA implementation, or NULL for the default.