]>
Commit | Line | Data |
---|---|---|
b31db505 MC |
1 | =pod |
2 | ||
3 | =head1 NAME | |
4 | ||
5 | SSL_SESSION_print, | |
6 | SSL_SESSION_print_fp, | |
7 | SSL_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 | ||
20 | SSL_SESSION_print() prints summary information about the session provided in | |
21 | B<ses> to the BIO B<fp>. | |
22 | ||
23 | SSL_SESSION_print_fp() does the same as SSL_SESSION_print() except it prints it | |
24 | to the FILE B<fp>. | |
25 | ||
26 | SSL_SESSION_print_keylog() prints session information to the provided BIO <bp> | |
27 | in NSS keylog format. | |
28 | ||
29 | =head1 RETURN VALUES | |
30 | ||
31 | SSL_SESSION_print(), SSL_SESSION_print_fp() and SSL_SESSION_print_keylog return | |
32 | 1 on success or 0 on error. | |
33 | ||
34 | =head1 SEE ALSO | |
35 | ||
36 | L<ssl(7)> | |
37 | ||
38 | =head1 COPYRIGHT | |
39 | ||
40 | Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. | |
41 | ||
4746f25a | 42 | Licensed under the Apache License 2.0 (the "License"). You may not use |
b31db505 MC |
43 | this file except in compliance with the License. You can obtain a copy |
44 | in the file LICENSE in the source distribution or at | |
45 | L<https://www.openssl.org/source/license.html>. | |
46 | ||
47 | =cut |