1OSSL_STORE_ATTACH(3ossl)            OpenSSL           OSSL_STORE_ATTACH(3ossl)
2
3
4

NAME

6       OSSL_STORE_attach - Functions to read objects from a BIO
7

SYNOPSIS

9        #include <openssl/store.h>
10
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);
17

DESCRIPTION

19       OSSL_STORE_attach() works like OSSL_STORE_open(3), except it takes a
20       BIO bio instead of a uri, along with a scheme to determine what loader
21       should be used to process the data. The reference count of the BIO
22       object is increased by 1 if the call is successful.
23

RETURN VALUES

25       OSSL_STORE_attach() returns a pointer to a OSSL_STORE_CTX on success,
26       or NULL on failure.
27

SEE ALSO

29       ossl_store(7), OSSL_STORE_open(3)
30

HISTORY

32       OSSL_STORE_attach() was added in OpenSSL 3.0.
33
35       Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
36
37       Licensed under the Apache License 2.0 (the "License").  You may not use
38       this file except in compliance with the License.  You can obtain a copy
39       in the file LICENSE in the source distribution or at
40       <https://www.openssl.org/source/license.html>.
41
42
43
443.0.5                             2022-07-05          OSSL_STORE_ATTACH(3ossl)
Impressum