OSSL_STORE_open_ex

Open an OSSL_STORE channel with an explicit library context and parameters.

Synopsis

Declared in <openssl/store.h>

OSSL_STORE_CTX*
OSSL_STORE_open_ex(
    char const* uri,
    OSSL_LIB_CTX* libctx,
    char const* propq,
    UI_METHOD const* ui_method,
    void* ui_data,
    OSSL_PARAM const params[],
    OSSL_STORE_post_process_info_fn post_process,
    void* post_process_data);

Return Value

New store context, or NULL on error; free with OSSL_STORE_close().

Parameters

NameDescription
uriURI identifying the store resource (scheme selects the loader).
libctxLibrary context, or NULL for the default.
propqOptional property query for fetching the loader, or NULL.
ui_methodUI method for passwords or other interactive input, or NULL.
ui_dataApplication data passed to ui_method whenever it is used.
paramsOptional OSSL_PARAM array passed to the loader, or NULL.
post_processOptional post-process callback for each loaded object, or NULL.
post_process_dataApplication pointer passed to post_process.