OSSL_STORE_SEARCH_by_key_fingerprint

Build a search criterion matching a key fingerprint.

Synopsis

Declared in <openssl/store.h>

OSSL_STORE_SEARCH*
OSSL_STORE_SEARCH_by_key_fingerprint(
    EVP_MD const* digest,
    unsigned char const* bytes,
    size_t len);

Return Value

New OSSL_STORE_SEARCH, or NULL on error; free with OSSL_STORE_SEARCH_free().

Parameters

NameDescription
digestDigest algorithm used for the fingerprint, or NULL for the loader default.
bytesFingerprint octets owned by the caller; must remain valid for the search lifetime.
lenLength of bytes in octets.