xref: /freebsd/crypto/openssl/doc/man3/SSL_SESSION_print.pod (revision e71b70530d95c4f34d8bdbd78d1242df1ba4a945)
1*e71b7053SJung-uk Kim=pod
2*e71b7053SJung-uk Kim
3*e71b7053SJung-uk Kim=head1 NAME
4*e71b7053SJung-uk Kim
5*e71b7053SJung-uk KimSSL_SESSION_print,
6*e71b7053SJung-uk KimSSL_SESSION_print_fp,
7*e71b7053SJung-uk KimSSL_SESSION_print_keylog
8*e71b7053SJung-uk Kim- printf information about a session
9*e71b7053SJung-uk Kim
10*e71b7053SJung-uk Kim=head1 SYNOPSIS
11*e71b7053SJung-uk Kim
12*e71b7053SJung-uk Kim #include <openssl/ssl.h>
13*e71b7053SJung-uk Kim
14*e71b7053SJung-uk Kim int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
15*e71b7053SJung-uk Kim int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
16*e71b7053SJung-uk Kim int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x);
17*e71b7053SJung-uk Kim
18*e71b7053SJung-uk Kim=head1 DESCRIPTION
19*e71b7053SJung-uk Kim
20*e71b7053SJung-uk KimSSL_SESSION_print() prints summary information about the session provided in
21*e71b7053SJung-uk KimB<ses> to the BIO B<fp>.
22*e71b7053SJung-uk Kim
23*e71b7053SJung-uk KimSSL_SESSION_print_fp() does the same as SSL_SESSION_print() except it prints it
24*e71b7053SJung-uk Kimto the FILE B<fp>.
25*e71b7053SJung-uk Kim
26*e71b7053SJung-uk KimSSL_SESSION_print_keylog() prints session information to the provided BIO <bp>
27*e71b7053SJung-uk Kimin NSS keylog format.
28*e71b7053SJung-uk Kim
29*e71b7053SJung-uk Kim=head1 RETURN VALUES
30*e71b7053SJung-uk Kim
31*e71b7053SJung-uk KimSSL_SESSION_print(), SSL_SESSION_print_fp() and SSL_SESSION_print_keylog return
32*e71b7053SJung-uk Kim1 on success or 0 on error.
33*e71b7053SJung-uk Kim
34*e71b7053SJung-uk Kim=head1 SEE ALSO
35*e71b7053SJung-uk Kim
36*e71b7053SJung-uk KimL<ssl(7)>
37*e71b7053SJung-uk Kim
38*e71b7053SJung-uk Kim=head1 COPYRIGHT
39*e71b7053SJung-uk Kim
40*e71b7053SJung-uk KimCopyright 2017 The OpenSSL Project Authors. All Rights Reserved.
41*e71b7053SJung-uk Kim
42*e71b7053SJung-uk KimLicensed under the OpenSSL license (the "License").  You may not use
43*e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
44*e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
45*e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
46*e71b7053SJung-uk Kim
47*e71b7053SJung-uk Kim=cut
48