[#ENGINE_get_pkey_asn1_meth_str]
= ENGINE&lowbar;get&lowbar;pkey&lowbar;asn1&lowbar;meth&lowbar;str
:mrdocs:

Look up an ENGINE&apos;s EVP&lowbar;PKEY&lowbar;ASN1&lowbar;METHOD by PEM string name&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
xref:EVP_PKEY_ASN1_METHOD.adoc[EVP&lowbar;PKEY&lowbar;ASN1&lowbar;METHOD] const*
ENGINE&lowbar;get&lowbar;pkey&lowbar;asn1&lowbar;meth&lowbar;str(
    xref:ENGINE.adoc[ENGINE]* e,
    char const* str,
    int len);
----

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

Matching EVP&lowbar;PKEY&lowbar;ASN1&lowbar;METHOD, or NULL if not found&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *e*
| ENGINE whose ASN&period;1 pkey methods are searched&period;
| *str*
| PEM algorithm name to match (case&hyphen;insensitive)&period;
| *len*
| Length of `str` in bytes, or &hyphen;1 to use strlen(`str)&period;`
|===


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