RSA_set_method

Bind an RSA_METHOD implementation to an RSA key object (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_set_method(
    RSA* rsa,
    RSA_METHOD const* meth);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
rsaRSA key to update.
methMethod table that will handle operations on rsa.