PEM_read_bio_SSL_SESSION

Read an SSL_SESSION from a PEM-encoded BIO.

Synopsis

Declared in <openssl/ssl.h>

SSL_SESSION*
PEM_read_bio_SSL_SESSION(
    BIO* bp,
    SSL_SESSION** x,
    pem_password_cb* cb,
    void* u);

Return Value

New or reused SSL_SESSION on success, or NULL on failure.

Parameters

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