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

Name

Description

bp

BIO to read from.

x

Optional address of an X509_REQ pointer to reuse, or NULL.

cb

Password callback for encrypted PEM, or NULL.

u

Application data passed to cb.

Created with MrDocs