PEM_read_bio_PKCS7

Read a PKCS#7 structure from a PEM-encoded BIO.

Synopsis

Declared in <openssl/pem.h>

PKCS7*
PEM_read_bio_PKCS7(
    BIO* bp,
    PKCS7** x,
    pem_password_cb* cb,
    void* u);

Return Value

PKCS#7 object on success, or NULL on failure.

Parameters

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