5 OSSL_STORE_attach - Functions to read objects from a BIO
9 #include <openssl/store.h>
11 OSSL_STORE_CTX *OSSL_STORE_attach(BIO *bio, const char *scheme,
12 OSSL_LIB_CTX *libctx, const char *propq,
13 const UI_METHOD *ui_method, void *ui_data,
14 const OSSL_PARAM params[],
15 OSSL_STORE_post_process_info_fn post_process,
16 void *post_process_data);
20 OSSL_STORE_attach() works like L<OSSL_STORE_open(3)>, except it takes a B<BIO>
21 I<bio> instead of a I<uri>, along with a I<scheme> to determine what loader
22 should be used to process the data. The reference count of the B<BIO> object
23 is increased by 1 if the call is successful.
27 OSSL_STORE_attach() returns a pointer to a B<OSSL_STORE_CTX> on success, or
32 L<ossl_store(7)>, L<OSSL_STORE_open(3)>
36 OSSL_STORE_attach() was added in OpenSSL 3.0.
40 Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
42 Licensed under the Apache License 2.0 (the "License"). You may not use
43 this file except in compliance with the License. You can obtain a copy
44 in the file LICENSE in the source distribution or at
45 L<https://www.openssl.org/source/license.html>.