[#OSSL_STORE_SEARCH_by_name]
= OSSL&lowbar;STORE&lowbar;SEARCH&lowbar;by&lowbar;name
:mrdocs:

Build a search criterion matching a subject (certs) or issuer (CRLs) name&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OSSL_STORE_SEARCH.adoc[OSSL&lowbar;STORE&lowbar;SEARCH]*
OSSL&lowbar;STORE&lowbar;SEARCH&lowbar;by&lowbar;name(xref:X509_NAME.adoc[X509&lowbar;NAME]* name);
----

== Return Value

New OSSL&lowbar;STORE&lowbar;SEARCH, or NULL on error&semi; free with OSSL&lowbar;STORE&lowbar;SEARCH&lowbar;free()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| X509&lowbar;NAME owned by the caller&semi; must remain valid for the search lifetime&period;
|===


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