[#OSSL_STORE_SEARCH_by_key_fingerprint]
= OSSL&lowbar;STORE&lowbar;SEARCH&lowbar;by&lowbar;key&lowbar;fingerprint
:mrdocs:

Build a search criterion matching a key fingerprint&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;key&lowbar;fingerprint(
    xref:EVP_MD.adoc[EVP&lowbar;MD] const* digest,
    unsigned char const* bytes,
    size&lowbar;t len);
----

== 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
| *digest*
| Digest algorithm used for the fingerprint, or NULL for the loader default&period;
| *bytes*
| Fingerprint octets owned by the caller&semi; must remain valid for the search lifetime&period;
| *len*
| Length of `bytes` in octets&period;
|===


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