Add -verbosity option to apps/cmp.c and add log output also in crypto/cmp
[openssl.git] / doc / man3 / PEM_X509_INFO_read_bio_with_libctx.pod
1 =pod
2
3 =head1 NAME
4
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>
7 object's
8
9 =head1 SYNOPSIS
10
11  #include <openssl/pem.h>
12
13  STACK_OF(X509_INFO) *PEM_X509_INFO_read_with_libctx(FILE *fp,
14                                                      STACK_OF(X509_INFO) *sk,
15                                                      pem_password_cb *cb,
16                                                      void *u,
17                                                      OPENSSL_CTX *libctx,
18                                                      const char *propq);
19
20  STACK_OF(X509_INFO) *PEM_X509_INFO_read_bio_with_libctx(BIO *bio,
21                                                          STACK_OF(X509_INFO) *sk,
22                                                          pem_password_cb *cb,
23                                                          void *u,
24                                                          OPENSSL_CTX *libctx,
25                                                          const char *propq);
26
27 =head1 DESCRIPTION
28
29 The loaded B<X509_INFO> object's can contain a CRL, a certificate and a
30 corresponding private key.
31
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.
35
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.
39
40
41 =head1 RETURN VALUES
42
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.
45
46 =head1 SEE ALSO
47
48 L<PEM_read_bio_ex(3)>,
49 L<passphrase-encoding(7)>
50
51 =head1 HISTORY
52
53 The functions PEM_X509_INFO_read_with_libctx() and
54 PEM_X509_INFO_read_bio_with_libctx() were added in OpenSSL 3.0.
55
56 =head1 COPYRIGHT
57
58 Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
59
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>.
64
65 =cut