PEM_read_bio_X509_AUX

Read a trusted X.509 certificate (with aux trust info) from a PEM BIO.

Synopsis

Declared in <openssl/pem.h>

X509*
PEM_read_bio_X509_AUX(
    BIO* bp,
    X509** x,
    pem_password_cb* cb,
    void* u);

Return Value

Certificate on success, or NULL on failure.

Parameters

NameDescription
bpBIO to read from.
xOptional address of an X509 pointer to reuse, or NULL.
cbPassword callback for encrypted PEM, or NULL.
uApplication data passed to cb.