1SSL_SESSION_PRINT(3) OpenSSL SSL_SESSION_PRINT(3)
2
3
4
6 SSL_SESSION_print, SSL_SESSION_print_fp, SSL_SESSION_print_keylog -
7 printf information about a session
8
10 #include <openssl/ssl.h>
11
12 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
13 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
14 int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x);
15
17 SSL_SESSION_print() prints summary information about the session
18 provided in ses to the BIO fp.
19
20 SSL_SESSION_print_fp() does the same as SSL_SESSION_print() except it
21 prints it to the FILE fp.
22
23 SSL_SESSION_print_keylog() prints session information to the provided
24 BIO <bp> in NSS keylog format.
25
27 SSL_SESSION_print(), SSL_SESSION_print_fp() and
28 SSL_SESSION_print_keylog return 1 on success or 0 on error.
29
31 ssl(7)
32
34 Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
35
36 Licensed under the OpenSSL license (the "License"). You may not use
37 this file except in compliance with the License. You can obtain a copy
38 in the file LICENSE in the source distribution or at
39 <https://www.openssl.org/source/license.html>.
40
41
42
431.1.1q 2023-02-06 SSL_SESSION_PRINT(3)