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