|PEM_READ_SSL_SESSION(3)||Library Functions Manual||PEM_READ_SSL_SESSION(3)|
encode and decode SSL session objects in PEM
SSL_SESSION **a, pem_password_cb
*cb, void *u);
*bp, SSL_SESSION **a,
pem_password_cb *cb, void
const SSL_SESSION *a);
*bp, const SSL_SESSION *a);
These routines convert between local instances of ASN.1 SSL_SESSION objects and the PEM encoding.
PEM_read_SSL_SESSION() reads a PEM-encoded
SSL_SESSION object from the file
fp and returns it. The cb and
u parameters are as described in
PEM_read_bio_SSL_SESSION() is similar to
PEM_read_SSL_SESSION() but reads from the BIO
PEM_write_SSL_SESSION() writes the PEM
encoding of the object a to the file
writes to the BIO bp.
PEM_read_bio_SSL_SESSION() return a pointer to an
allocated object, which should be released by calling
NULL on error.
PEM_write_bio_SSL_SESSION() return the number of
bytes written or 0 on error.
PEM_write_SSL_SESSION() first appeared in SSLeay
PEM_write_bio_SSL_SESSION() first appeared in SSLeay
0.6.0. These functions have been available since OpenBSD
|June 12, 2019||OpenBSD-current|