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

Name

Description

uri

URI identifying the store resource (scheme selects the loader).

libctx

Library context, or NULL for the default.

propq

Optional property query for fetching the loader, or NULL.

ui_method

UI method for passwords or other interactive input, or NULL.

ui_data

Application data passed to ui_method whenever it is used.

params

Optional OSSL_PARAM array passed to the loader, or NULL.

post_process

Optional post‐process callback for each loaded object, or NULL.

post_process_data

Application pointer passed to post_process.

Created with MrDocs