[#EVP_PKEY_asn1_set_ctrl]
= EVP&lowbar;PKEY&lowbar;asn1&lowbar;set&lowbar;ctrl
:mrdocs:

Set the control callback on an EVP&lowbar;PKEY&lowbar;ASN1&lowbar;METHOD&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;ctrl(
    xref:EVP_PKEY_ASN1_METHOD.adoc[EVP&lowbar;PKEY&lowbar;ASN1&lowbar;METHOD]* ameth,
    int(* pkey&lowbar;ctrl)(xref:EVP_PKEY.adoc[EVP&lowbar;PKEY]*, int, long, void*));
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ameth*
| ASN&period;1 method table under construction&period;
| *pkey&lowbar;ctrl*
| Callback for ASN&period;1&sol;method control ops (for example PKCS&num;7&sol;CMS), or NULL to clear&period;
|===


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