# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:44+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" # #-#-#-#-# archlinux: SSL_CTX_sess_set_get_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: SSL_CTX_sess_set_get_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: SSL_CTX_sess_set_get_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: SSL_CTX_sess_set_get_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Title" msgstr "" # #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #: archlinux #, no-wrap msgid "SSL_CTX_SESS_SET_GET_CB 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SSL_CTX_SESS_SET_GET_CB" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "2026-04-07" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "3.6.2" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "OpenSSL" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "SSL_CTX_sess_set_new_cb, SSL_CTX_sess_set_remove_cb, " "SSL_CTX_sess_set_get_cb, SSL_CTX_sess_get_new_cb, " "SSL_CTX_sess_get_remove_cb, SSL_CTX_sess_get_get_cb - provide callback " "functions for server side external session caching" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Header" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/ssl.hE\n" "\\&\n" "\\& void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx,\n" "\\& int (*new_session_cb)(SSL *, SSL_SESSION *));\n" "\\& void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx,\n" "\\& void (*remove_session_cb)(SSL_CTX *ctx,\n" "\\& SSL_SESSION *));\n" "\\& void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx,\n" "\\& SSL_SESSION (*get_session_cb)(SSL *,\n" "\\& const unsigned char *,\n" "\\& int, int *));\n" "\\&\n" "\\& int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl,\n" "\\& SSL_SESSION *sess);\n" "\\& void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx,\n" "\\& SSL_SESSION *sess);\n" "\\& SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl,\n" "\\& const unsigned char *data,\n" "\\& int len, int *copy);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the callback function that is called " "whenever a new session was negotiated." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the callback function that is called " "whenever a session is removed by the SSL engine. For example, this can " "occur because a session is considered faulty or has become obsolete because " "of exceeding the timeout value." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the callback function that is called " "whenever a TLS client proposed to resume a session but the session could not " "be found in the internal session cache (see " "\\&B\\|(3)). (TLS server only.)" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, and " "\\&B retrieve the function pointers set by the " "corresponding set callback functions. If a callback function has not been " "set, the NULL pointer is returned." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "In order to allow external session caching, synchronization with the " "internal session cache is realized via callback functions. Inside these " "callback functions, session can be saved to disk or put into a database " "using the \\&B\\|(3) interface." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B is called whenever a new session has been negotiated " "and session caching is enabled (see B\\|" "(3)). The \\&B is passed the B connection and the " "nascent ssl session B. Since sessions are reference-counted objects, " "the reference count on the session is incremented before the callback, on " "behalf of the application. If the callback returns B<0>, the session will " "be immediately removed from the internal cache and the reference count " "released. If the callback returns B<1>, the application retains the " "reference (for an entry in the application-maintained \"external session " "cache\"), and is responsible for calling B when the " "session reference is no longer in use." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Note that in TLSv1.3, sessions are established after the main handshake has " "completed. The server decides when to send the client the session " "information and this may occur some time after the end of the handshake (or " "not at all). This means that applications should expect the " "B function to be invoked during the handshake (for E= " "TLSv1.2) or after the handshake (for TLSv1.3). It is also possible in " "TLSv1.3 for multiple sessions to be established with a single connection. In " "these case the B function will be invoked multiple times." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "In TLSv1.3 it is recommended that each SSL_SESSION object is only used for " "resumption once. One way of enforcing that is for applications to call " "\\&B\\|(3) after a session has been used." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B is called whenever the SSL engine removes a " "session from the internal cache. This can happen when the session is removed " "because it is expired or when a connection was not shutdown cleanly. It also " "happens for all sessions in the internal session cache when " "\\&B\\|(3) is called. The B is passed the " "B and the ssl session B. It does not provide any feedback." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B is only called on SSL/TLS servers, and is given the " "session id proposed by the client. The B is always called, " "even when session caching was disabled. The B is passed " "the \\&B connection and the session id of length B at the " "memory location \\&B. By setting the parameter B to B<1>, the " "callback can require the SSL engine to increment the reference count of the " "SSL_SESSION object; setting B to B<0> causes the reference count to " "remain unchanged. If the B does not write to B, the " "reference count is incremented and the session must be explicitly freed with " "\\&B\\|(3)." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B and " "B return different callback function pointers " "respectively." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\|(7), B\\|(3), " "\\&B\\|(3), \\&B\\|" "(3), \\&B\\|(3), \\&B\\|(3)" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Copyright 2001-2020 The OpenSSL Project Authors. All Rights Reserved." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Licensed under the Apache License 2.0 (the \"License\"). You may not use " "this file except in compliance with the License. You can obtain a copy in " "the file LICENSE in the source distribution or at Ehttps://" "www.openssl.org/source/license.htmlE." msgstr "" #. ======================================================================== #. type: IX #: debian-trixie debian-unstable #, no-wrap msgid "SSL_CTX_SESS_SET_GET_CB 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr ""