[#RSA_set_method]
= RSA&lowbar;set&lowbar;method
:mrdocs:

Bind an RSA&lowbar;METHOD implementation to an RSA key object (deprecated)&period;

== Synopsis

Declared in `&lt;openssl&sol;rsa&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
RSA&lowbar;set&lowbar;method(
    xref:RSA.adoc[RSA]* rsa,
    xref:RSA_METHOD.adoc[RSA&lowbar;METHOD] const* meth);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rsa*
| RSA key to update&period;
| *meth*
| Method table that will handle operations on `rsa&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
