[#EVP_PKEY_asn1_set_param_check]
= EVP&lowbar;PKEY&lowbar;asn1&lowbar;set&lowbar;param&lowbar;check
:mrdocs:

Install a callback that validates algorithm parameters on an EVP&lowbar;PKEY&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
EVP&lowbar;PKEY&lowbar;asn1&lowbar;set&lowbar;param&lowbar;check(
    xref:EVP_PKEY_ASN1_METHOD.adoc[EVP&lowbar;PKEY&lowbar;ASN1&lowbar;METHOD]* ameth,
    int(* pkey&lowbar;param&lowbar;check)(xref:EVP_PKEY.adoc[EVP&lowbar;PKEY] const*));
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ameth*
| ASN&period;1 method object to update&period;
| *pkey&lowbar;param&lowbar;check*
| Function that returns 1 if `pk` parameters are valid&period;
|===


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