PEM_read_bio_X509_REQ

Read a certificate request from a PEM-encoded BIO.

Synopsis

Declared in <openssl/pem.h>

X509_REQ*
PEM_read_bio_X509_REQ(
    BIO* bp,
    X509_REQ** x,
    pem_password_cb* cb,
    void* u);

Return Value

Certificate request on success, or NULL on failure.

Parameters

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