OSSL_STORE_attach.pod 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. =pod
  2. =head1 NAME
  3. OSSL_STORE_attach - Functions to read objects from a BIO
  4. =head1 SYNOPSIS
  5. #include <openssl/store.h>
  6. OSSL_STORE_CTX *OSSL_STORE_attach(BIO *bio, const char *scheme,
  7. OPENSSL_CTX *libctx, const char *propq,
  8. const UI_METHOD *ui_method, void *ui_data,
  9. OSSL_STORE_post_process_info_fn post_process,
  10. void *post_process_data);
  11. =head1 DESCRIPTION
  12. OSSL_STORE_attach() works like L<OSSL_STORE_open(3)>, except it takes a B<BIO>
  13. I<bio> instead of a I<uri>, along with a I<scheme> to determine what loader
  14. should be used to process the data.
  15. =head1 RETURN VALUES
  16. OSSL_STORE_attach() returns a pointer to a B<OSSL_STORE_CTX> on success, or
  17. NULL on failure.
  18. =head1 SEE ALSO
  19. L<ossl_store(7)>, L<OSSL_STORE_open(3)>
  20. =head1 HISTORY
  21. OSSL_STORE_attach() was added in OpenSSL 3.0.
  22. =head1 COPYRIGHT
  23. Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
  24. Licensed under the Apache License 2.0 (the "License"). You may not use
  25. this file except in compliance with the License. You can obtain a copy
  26. in the file LICENSE in the source distribution or at
  27. L<https://www.openssl.org/source/license.html>.
  28. =cut