[#RSA_check_key_ex]
= RSA&lowbar;check&lowbar;key&lowbar;ex
:mrdocs:

Validate RSA key components with an optional progress callback (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;check&lowbar;key&lowbar;ex(
    xref:RSA.adoc[RSA] const* rsa,
    xref:BN_GENCB.adoc[BN&lowbar;GENCB]* cb);
----

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

1 if the key is valid, or 0 if invalid &sol; on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rsa*
| RSA key to check&period;
| *cb*
| Optional BN&lowbar;GENCB progress callback, or NULL&period;
|===


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