GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SSL_SESSION_PRINT(3) FreeBSD Library Functions Manual SSL_SESSION_PRINT(3)

SSL_SESSION_print, SSL_SESSION_print_fpprint some properties of an SSL_SESSION object

#include <openssl/ssl.h>

int
SSL_SESSION_print(BIO *bp, const SSL_SESSION *session);

int
SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *session);

() prints some properties of session in a human-readable format to the BIO *bp, including protocol version, cipher name, session ID, session ID context, master key, session ticket lifetime hint, session ticket, start time, timeout, and verify return code.

() does the same as SSL_SESSION_print() except that it prints to the FILE *fp.

SSL_SESSION_print() and SSL_SESSION_print_fp() return 1 for success or 0 for failure.

In some cases, the reason for failure can be determined with ERR_get_error(3).

d2i_SSL_SESSION(3), PEM_read_SSL_SESSION(3), ssl(3), SSL_get_session(3), SSL_SESSION_free(3), SSL_SESSION_get_ex_new_index(3), SSL_SESSION_get_time(3), SSL_SESSION_new(3)

SSL_SESSION_print() first appeared in SSLeay 0.5.2. SSL_SESSION_print_fp() first appeared in SSLeay 0.6.0. Both functions have been available since OpenBSD 2.4.

June 12, 2019 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.