1 1.1 christos =pod 2 1.1 christos 3 1.1 christos =head1 NAME 4 1.1 christos 5 1.1 christos OSSL_STORE_attach - Functions to read objects from a BIO 6 1.1 christos 7 1.1 christos =head1 SYNOPSIS 8 1.1 christos 9 1.1 christos #include <openssl/store.h> 10 1.1 christos 11 1.1 christos OSSL_STORE_CTX *OSSL_STORE_attach(BIO *bio, const char *scheme, 12 1.1 christos OSSL_LIB_CTX *libctx, const char *propq, 13 1.1 christos const UI_METHOD *ui_method, void *ui_data, 14 1.1 christos const OSSL_PARAM params[], 15 1.1 christos OSSL_STORE_post_process_info_fn post_process, 16 1.1 christos void *post_process_data); 17 1.1 christos 18 1.1 christos =head1 DESCRIPTION 19 1.1 christos 20 1.1 christos OSSL_STORE_attach() works like L<OSSL_STORE_open(3)>, except it takes a B<BIO> 21 1.1 christos I<bio> instead of a I<uri>, along with a I<scheme> to determine what loader 22 1.1 christos should be used to process the data. The reference count of the B<BIO> object 23 1.1 christos is increased by 1 if the call is successful. 24 1.1 christos 25 1.1 christos =head1 RETURN VALUES 26 1.1 christos 27 1.1 christos OSSL_STORE_attach() returns a pointer to a B<OSSL_STORE_CTX> on success, or 28 1.1 christos NULL on failure. 29 1.1 christos 30 1.1 christos =head1 SEE ALSO 31 1.1 christos 32 1.1 christos L<ossl_store(7)>, L<OSSL_STORE_open(3)> 33 1.1 christos 34 1.1 christos =head1 HISTORY 35 1.1 christos 36 1.1 christos OSSL_STORE_attach() was added in OpenSSL 3.0. 37 1.1 christos 38 1.1 christos =head1 COPYRIGHT 39 1.1 christos 40 1.1 christos Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. 41 1.1 christos 42 1.1 christos Licensed under the Apache License 2.0 (the "License"). You may not use 43 1.1 christos this file except in compliance with the License. You can obtain a copy 44 1.1 christos in the file LICENSE in the source distribution or at 45 1.1 christos L<https://www.openssl.org/source/license.html>. 46 1.1 christos 47 1.1 christos =cut 48