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

Name

Description

digest

Digest algorithm used for the fingerprint, or NULL for the loader default.

bytes

Fingerprint octets owned by the caller; must remain valid for the search lifetime.

len

Length of bytes in octets.

Created with MrDocs