5 PEM_X509_INFO_read_bio_with_libctx, PEM_X509_INFO_read_with_libctx
6 - read a PEM-encoded data structure from a bio into one or more B<X509_INFO>
11 #include <openssl/pem.h>
13 STACK_OF(X509_INFO) *PEM_X509_INFO_read_with_libctx(FILE *fp,
14 STACK_OF(X509_INFO) *sk,
20 STACK_OF(X509_INFO) *PEM_X509_INFO_read_bio_with_libctx(BIO *bio,
21 STACK_OF(X509_INFO) *sk,
29 The loaded B<X509_INFO> object's can contain a CRL, a certificate and a
30 corresponding private key.
32 PEM_X509_INFO_read_with_libctx() loads the B<X509_INFO> objects from a file I<fp>.
33 The library context I<libctx> and property query <propq> are used for fetching
34 algorithms from providers.
36 PEM_X509_INFO_read_bio_with_libctx loads the B<X509_INFO> objects using a bio
37 I<bp>. The library context I<libctx> and property query <propq> are used for
38 fetching algorithms from providers.
43 PEM_X509_INFO_read_with_libctx() and PEM_X509_INFO_read_bio_with_libctx() return
44 a stack of B<X509_INFO> objects or NULL on failure.
48 L<PEM_read_bio_ex(3)>,
49 L<passphrase-encoding(7)>
53 The functions PEM_X509_INFO_read_with_libctx() and
54 PEM_X509_INFO_read_bio_with_libctx() were added in OpenSSL 3.0.
58 Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
60 Licensed under the Apache License 2.0 (the "License"). You may not use
61 this file except in compliance with the License. You can obtain a copy
62 in the file LICENSE in the source distribution or at
63 L<https://www.openssl.org/source/license.html>.