1SSL_CTX_SESSIONS(3)                 OpenSSL                SSL_CTX_SESSIONS(3)
2
3
4

NAME

6       SSL_CTX_sessions - access internal session cache
7

SYNOPSIS

9        #include <openssl/ssl.h>
10
11        struct lhash_st *SSL_CTX_sessions(SSL_CTX *ctx);
12

DESCRIPTION

14       SSL_CTX_sessions() returns a pointer to the lhash databases containing
15       the internal session cache for ctx.
16

NOTES

18       The sessions in the internal session cache are kept in an LHASH(3) type
19       database. It is possible to directly access this database e.g. for
20       searching. In parallel, the sessions form a linked list which is
21       maintained separately from the LHASH(3) operations, so that the
22       database must not be modified directly but by using the
23       SSL_CTX_add_session(3) family of functions.
24

RETURN VALUES

26       SSL_CTX_sessions() returns a pointer to the lhash of SSL_SESSION.
27

SEE ALSO

29       ssl(7), LHASH(3), SSL_CTX_add_session(3),
30       SSL_CTX_set_session_cache_mode(3)
31
33       Copyright 2001-2018 The OpenSSL Project Authors. All Rights Reserved.
34
35       Licensed under the OpenSSL license (the "License").  You may not use
36       this file except in compliance with the License.  You can obtain a copy
37       in the file LICENSE in the source distribution or at
38       <https://www.openssl.org/source/license.html>.
39
40
41
421.1.1                             2018-09-11               SSL_CTX_SESSIONS(3)
Impressum