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