OSSL_STORE_INFO_get0_data

Return the typed object pointer from a store info when type matches (borrowed).

Synopsis

Declared in <openssl/store.h>

void*
OSSL_STORE_INFO_get0_data(
    int type,
    OSSL_STORE_INFO const* info);

Return Value

Internal data pointer if info has type, or NULL otherwise; do not free.

Parameters

NameDescription
typeExpected OSSL_STORE_INFO_* type code.
infoStore object to query.