Read successive PEM objects from a BIO into a stack of X509_INFO.

Synopsis

Declared in <openssl/pem.h>

stack_st_X509_INFO*
PEM_X509_INFO_read_bio(
    BIO* bp,
    stack_st_X509_INFO* sk,
    pem_password_cb* cb,
    void* u);

Return Value

Stack of X509_INFO (certificate, CRL, and/or key groups), or NULL on failure.

Parameters

Name

Description

bp

BIO to read from.

sk

Existing stack to append to, or NULL to allocate a new stack.

cb

Password callback for encrypted private keys, or NULL.

u

Application data passed to cb.

Created with MrDocs