[#OSSL_STORE_SEARCH_by_issuer_serial]
= OSSL&lowbar;STORE&lowbar;SEARCH&lowbar;by&lowbar;issuer&lowbar;serial
:mrdocs:

Build a search criterion matching an issuer name and serial number&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;issuer&lowbar;serial(
    xref:X509_NAME.adoc[X509&lowbar;NAME]* name,
    xref:ASN1_INTEGER.adoc[ASN1&lowbar;INTEGER] const* serial);
----

== 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*
| Issuer X509&lowbar;NAME owned by the caller&semi; must remain valid for the search lifetime&period;
| *serial*
| Serial number owned by the caller&semi; must remain valid for the search lifetime&period;
|===


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