1 | =pod
|
---|
2 |
|
---|
3 | =head1 NAME
|
---|
4 |
|
---|
5 | OSSL_STORE_attach - Functions to read objects from a BIO
|
---|
6 |
|
---|
7 | =head1 SYNOPSIS
|
---|
8 |
|
---|
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 |
|
---|
18 | =head1 DESCRIPTION
|
---|
19 |
|
---|
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.
|
---|
24 |
|
---|
25 | =head1 RETURN VALUES
|
---|
26 |
|
---|
27 | OSSL_STORE_attach() returns a pointer to a B<OSSL_STORE_CTX> on success, or
|
---|
28 | NULL on failure.
|
---|
29 |
|
---|
30 | =head1 SEE ALSO
|
---|
31 |
|
---|
32 | L<ossl_store(7)>, L<OSSL_STORE_open(3)>
|
---|
33 |
|
---|
34 | =head1 HISTORY
|
---|
35 |
|
---|
36 | OSSL_STORE_attach() was added in OpenSSL 3.0.
|
---|
37 |
|
---|
38 | =head1 COPYRIGHT
|
---|
39 |
|
---|
40 | Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
|
---|
41 |
|
---|
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>.
|
---|
46 |
|
---|
47 | =cut
|
---|