OSSL_STORE_SEARCH_get0_bytes

Return the fingerprint or alias byte string from a search criterion (borrowed).

Synopsis

Declared in <openssl/store.h>

unsigned char const*
OSSL_STORE_SEARCH_get0_bytes(
    OSSL_STORE_SEARCH const* criterion,
    size_t* length);

Return Value

Internal byte pointer, or NULL if not applicable; do not free.

Parameters

NameDescription
criterionSearch criterion holding raw bytes.
lengthReceives the byte count on success.