[#EVP_CIPHER_meth_get_set_asn1_params]
= EVP&lowbar;CIPHER&lowbar;meth&lowbar;get&lowbar;set&lowbar;asn1&lowbar;params
:mrdocs:

Return the set&lowbar;asn1&lowbar;params callback previously set on a custom EVP&lowbar;CIPHER method&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int(*
EVP&lowbar;CIPHER&lowbar;meth&lowbar;get&lowbar;set&lowbar;asn1&lowbar;params(xref:EVP_CIPHER-07.adoc[EVP&lowbar;CIPHER] const* cipher))(xref:EVP_CIPHER_CTX.adoc[EVP&lowbar;CIPHER&lowbar;CTX]*, xref:ASN1_TYPE.adoc[ASN1&lowbar;TYPE]*);
----

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

Function that writes AlgorithmIdentifier parameters from `EVP&lowbar;CIPHER&lowbar;CTX` into an ASN1&lowbar;TYPE, or NULL if unset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cipher*
| Cipher method to query&period;
|===


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