Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PEM_X509_INFO_READ_BIO_WITH_LIBCTX(3OpenSPEM_X509_INFO_READ_BIO_WITH_LIBCTX(3)

NAME
       PEM_X509_INFO_read_bio_with_libctx, PEM_X509_INFO_read_with_libctx -
       read a PEM-encoded data structure from a	bio into one or	more X509_INFO
       object's

SYNOPSIS
	#include <openssl/pem.h>

	STACK_OF(X509_INFO) *PEM_X509_INFO_read_with_libctx(FILE *fp,
							    STACK_OF(X509_INFO)	*sk,
							    pem_password_cb *cb,
							    void *u,
							    OPENSSL_CTX	*libctx,
							    const char *propq);

	STACK_OF(X509_INFO) *PEM_X509_INFO_read_bio_with_libctx(BIO *bio,
								STACK_OF(X509_INFO) *sk,
								pem_password_cb	*cb,
								void *u,
								OPENSSL_CTX *libctx,
								const char *propq);

DESCRIPTION
       The loaded X509_INFO object's can contain a CRL,	a certificate and a
       corresponding private key.

       PEM_X509_INFO_read_with_libctx()	loads the X509_INFO objects from a
       file fp.	 The library context libctx and	property query <propq> are
       used for	fetching algorithms from providers.

       PEM_X509_INFO_read_bio_with_libctx loads	the X509_INFO objects using a
       bio bp. The library context libctx and property query <propq> are used
       for fetching algorithms from providers.

RETURN VALUES
       PEM_X509_INFO_read_with_libctx()	and
       PEM_X509_INFO_read_bio_with_libctx() return a stack of X509_INFO
       objects or NULL on failure.

SEE ALSO
       PEM_read_bio_ex(3), passphrase-encoding(7)

HISTORY
       The functions PEM_X509_INFO_read_with_libctx() and
       PEM_X509_INFO_read_bio_with_libctx() were added in OpenSSL 3.0.

COPYRIGHT
       Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.

       Licensed	under the Apache License 2.0 (the "License").  You may not use
       this file except	in compliance with the License.	 You can obtain	a copy
       in the file LICENSE in the source distribution or at
       <https://www.openssl.org/source/license.html>.

3.0.0-alpha6			  2020-08PEM_X509_INFO_READ_BIO_WITH_LIBCTX(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO | HISTORY | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=PEM_X509_INFO_read_bio_with_libctx&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help