| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:44+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
# #-#-#-#-# archlinux: SSL_CTX_sess_set_get_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 20 |
# |
| 21 |
#. #-#-#-#-# archlinux: SSL_CTX_sess_set_get_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 22 |
#. Required to disable full justification in groff 1.23.0. |
| 23 |
#. ======================================================================== |
| 24 |
#. type: IX |
| 25 |
#. #-#-#-#-# debian-trixie: SSL_CTX_sess_set_get_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 26 |
#. ======================================================================== |
| 27 |
#. type: IX |
| 28 |
#. #-#-#-#-# debian-unstable: SSL_CTX_sess_set_get_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 29 |
#. ======================================================================== |
| 30 |
#. type: IX |
| 31 |
#: archlinux debian-trixie debian-unstable |
| 32 |
#, no-wrap |
| 33 |
msgid "Title" |
| 34 |
msgstr "" |
| 35 |
|
| 36 |
# |
| 37 |
#. Required to disable full justification in groff 1.23.0. |
| 38 |
#. ======================================================================== |
| 39 |
#. type: IX |
| 40 |
#: archlinux |
| 41 |
#, no-wrap |
| 42 |
msgid "SSL_CTX_SESS_SET_GET_CB 3ssl" |
| 43 |
msgstr "" |
| 44 |
|
| 45 |
#. type: TH |
| 46 |
#: archlinux debian-trixie debian-unstable |
| 47 |
#, no-wrap |
| 48 |
msgid "SSL_CTX_SESS_SET_GET_CB" |
| 49 |
msgstr "" |
| 50 |
|
| 51 |
#. type: TH |
| 52 |
#: archlinux debian-trixie debian-unstable |
| 53 |
#, no-wrap |
| 54 |
msgid "2026-04-07" |
| 55 |
msgstr "" |
| 56 |
|
| 57 |
#. type: TH |
| 58 |
#: archlinux debian-unstable |
| 59 |
#, no-wrap |
| 60 |
msgid "3.6.2" |
| 61 |
msgstr "" |
| 62 |
|
| 63 |
#. type: TH |
| 64 |
#: archlinux debian-trixie debian-unstable |
| 65 |
#, no-wrap |
| 66 |
msgid "OpenSSL" |
| 67 |
msgstr "" |
| 68 |
|
| 69 |
#. type: SH |
| 70 |
#: archlinux debian-trixie debian-unstable |
| 71 |
#, no-wrap |
| 72 |
msgid "NAME" |
| 73 |
msgstr "" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable |
| 77 |
msgid "" |
| 78 |
"SSL_CTX_sess_set_new_cb, SSL_CTX_sess_set_remove_cb, " |
| 79 |
"SSL_CTX_sess_set_get_cb, SSL_CTX_sess_get_new_cb, " |
| 80 |
"SSL_CTX_sess_get_remove_cb, SSL_CTX_sess_get_get_cb - provide callback " |
| 81 |
"functions for server side external session caching" |
| 82 |
msgstr "" |
| 83 |
|
| 84 |
#. type: IX |
| 85 |
#: archlinux debian-trixie debian-unstable |
| 86 |
#, no-wrap |
| 87 |
msgid "SYNOPSIS" |
| 88 |
msgstr "" |
| 89 |
|
| 90 |
#. type: IX |
| 91 |
#: archlinux debian-trixie debian-unstable |
| 92 |
#, no-wrap |
| 93 |
msgid "Header" |
| 94 |
msgstr "" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable |
| 98 |
#, no-wrap |
| 99 |
msgid "" |
| 100 |
"\\& #include E<lt>openssl/ssl.hE<gt>\n" |
| 101 |
"\\&\n" |
| 102 |
"\\& void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx,\n" |
| 103 |
"\\& int (*new_session_cb)(SSL *, SSL_SESSION *));\n" |
| 104 |
"\\& void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx,\n" |
| 105 |
"\\& void (*remove_session_cb)(SSL_CTX *ctx,\n" |
| 106 |
"\\& SSL_SESSION *));\n" |
| 107 |
"\\& void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx,\n" |
| 108 |
"\\& SSL_SESSION (*get_session_cb)(SSL *,\n" |
| 109 |
"\\& const unsigned char *,\n" |
| 110 |
"\\& int, int *));\n" |
| 111 |
"\\&\n" |
| 112 |
"\\& int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl,\n" |
| 113 |
"\\& SSL_SESSION *sess);\n" |
| 114 |
"\\& void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx,\n" |
| 115 |
"\\& SSL_SESSION *sess);\n" |
| 116 |
"\\& SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl,\n" |
| 117 |
"\\& const unsigned char *data,\n" |
| 118 |
"\\& int len, int *copy);\n" |
| 119 |
msgstr "" |
| 120 |
|
| 121 |
#. type: IX |
| 122 |
#: archlinux debian-trixie debian-unstable |
| 123 |
#, no-wrap |
| 124 |
msgid "DESCRIPTION" |
| 125 |
msgstr "" |
| 126 |
|
| 127 |
#. type: Plain text |
| 128 |
#: archlinux debian-trixie debian-unstable |
| 129 |
msgid "" |
| 130 |
"\\&B<SSL_CTX_sess_set_new_cb()> sets the callback function that is called " |
| 131 |
"whenever a new session was negotiated." |
| 132 |
msgstr "" |
| 133 |
|
| 134 |
#. type: Plain text |
| 135 |
#: archlinux debian-trixie debian-unstable |
| 136 |
msgid "" |
| 137 |
"\\&B<SSL_CTX_sess_set_remove_cb()> sets the callback function that is called " |
| 138 |
"whenever a session is removed by the SSL engine. For example, this can " |
| 139 |
"occur because a session is considered faulty or has become obsolete because " |
| 140 |
"of exceeding the timeout value." |
| 141 |
msgstr "" |
| 142 |
|
| 143 |
#. type: Plain text |
| 144 |
#: archlinux debian-trixie debian-unstable |
| 145 |
msgid "" |
| 146 |
"\\&B<SSL_CTX_sess_set_get_cb()> sets the callback function that is called " |
| 147 |
"whenever a TLS client proposed to resume a session but the session could not " |
| 148 |
"be found in the internal session cache (see " |
| 149 |
"\\&B<SSL_CTX_set_session_cache_mode>\\|(3)). (TLS server only.)" |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable |
| 154 |
msgid "" |
| 155 |
"\\&B<SSL_CTX_sess_get_new_cb()>, B<SSL_CTX_sess_get_remove_cb()>, and " |
| 156 |
"\\&B<SSL_CTX_sess_get_get_cb()> retrieve the function pointers set by the " |
| 157 |
"corresponding set callback functions. If a callback function has not been " |
| 158 |
"set, the NULL pointer is returned." |
| 159 |
msgstr "" |
| 160 |
|
| 161 |
#. type: IX |
| 162 |
#: archlinux debian-trixie debian-unstable |
| 163 |
#, no-wrap |
| 164 |
msgid "NOTES" |
| 165 |
msgstr "" |
| 166 |
|
| 167 |
#. type: Plain text |
| 168 |
#: archlinux debian-trixie debian-unstable |
| 169 |
msgid "" |
| 170 |
"In order to allow external session caching, synchronization with the " |
| 171 |
"internal session cache is realized via callback functions. Inside these " |
| 172 |
"callback functions, session can be saved to disk or put into a database " |
| 173 |
"using the \\&B<d2i_SSL_SESSION>\\|(3) interface." |
| 174 |
msgstr "" |
| 175 |
|
| 176 |
#. type: Plain text |
| 177 |
#: archlinux debian-trixie debian-unstable |
| 178 |
msgid "" |
| 179 |
"The B<new_session_cb()> is called whenever a new session has been negotiated " |
| 180 |
"and session caching is enabled (see B<SSL_CTX_set_session_cache_mode>\\|" |
| 181 |
"(3)). The \\&B<new_session_cb()> is passed the B<ssl> connection and the " |
| 182 |
"nascent ssl session B<sess>. Since sessions are reference-counted objects, " |
| 183 |
"the reference count on the session is incremented before the callback, on " |
| 184 |
"behalf of the application. If the callback returns B<0>, the session will " |
| 185 |
"be immediately removed from the internal cache and the reference count " |
| 186 |
"released. If the callback returns B<1>, the application retains the " |
| 187 |
"reference (for an entry in the application-maintained \"external session " |
| 188 |
"cache\"), and is responsible for calling B<SSL_SESSION_free()> when the " |
| 189 |
"session reference is no longer in use." |
| 190 |
msgstr "" |
| 191 |
|
| 192 |
#. type: Plain text |
| 193 |
#: archlinux debian-trixie debian-unstable |
| 194 |
msgid "" |
| 195 |
"Note that in TLSv1.3, sessions are established after the main handshake has " |
| 196 |
"completed. The server decides when to send the client the session " |
| 197 |
"information and this may occur some time after the end of the handshake (or " |
| 198 |
"not at all). This means that applications should expect the " |
| 199 |
"B<new_session_cb()> function to be invoked during the handshake (for E<lt>= " |
| 200 |
"TLSv1.2) or after the handshake (for TLSv1.3). It is also possible in " |
| 201 |
"TLSv1.3 for multiple sessions to be established with a single connection. In " |
| 202 |
"these case the B<new_session_cb()> function will be invoked multiple times." |
| 203 |
msgstr "" |
| 204 |
|
| 205 |
#. type: Plain text |
| 206 |
#: archlinux debian-trixie debian-unstable |
| 207 |
msgid "" |
| 208 |
"In TLSv1.3 it is recommended that each SSL_SESSION object is only used for " |
| 209 |
"resumption once. One way of enforcing that is for applications to call " |
| 210 |
"\\&B<SSL_CTX_remove_session>\\|(3) after a session has been used." |
| 211 |
msgstr "" |
| 212 |
|
| 213 |
#. type: Plain text |
| 214 |
#: archlinux debian-trixie debian-unstable |
| 215 |
msgid "" |
| 216 |
"The B<remove_session_cb()> is called whenever the SSL engine removes a " |
| 217 |
"session from the internal cache. This can happen when the session is removed " |
| 218 |
"because it is expired or when a connection was not shutdown cleanly. It also " |
| 219 |
"happens for all sessions in the internal session cache when " |
| 220 |
"\\&B<SSL_CTX_free>\\|(3) is called. The B<remove_session_cb()> is passed the " |
| 221 |
"B<ctx> and the ssl session B<sess>. It does not provide any feedback." |
| 222 |
msgstr "" |
| 223 |
|
| 224 |
#. type: Plain text |
| 225 |
#: archlinux debian-trixie debian-unstable |
| 226 |
msgid "" |
| 227 |
"The B<get_session_cb()> is only called on SSL/TLS servers, and is given the " |
| 228 |
"session id proposed by the client. The B<get_session_cb()> is always called, " |
| 229 |
"even when session caching was disabled. The B<get_session_cb()> is passed " |
| 230 |
"the \\&B<ssl> connection and the session id of length B<length> at the " |
| 231 |
"memory location \\&B<data>. By setting the parameter B<copy> to B<1>, the " |
| 232 |
"callback can require the SSL engine to increment the reference count of the " |
| 233 |
"SSL_SESSION object; setting B<copy> to B<0> causes the reference count to " |
| 234 |
"remain unchanged. If the B<get_session_cb()> does not write to B<copy>, the " |
| 235 |
"reference count is incremented and the session must be explicitly freed with " |
| 236 |
"\\&B<SSL_SESSION_free>\\|(3)." |
| 237 |
msgstr "" |
| 238 |
|
| 239 |
#. type: IX |
| 240 |
#: archlinux debian-trixie debian-unstable |
| 241 |
#, no-wrap |
| 242 |
msgid "RETURN VALUES" |
| 243 |
msgstr "" |
| 244 |
|
| 245 |
#. type: Plain text |
| 246 |
#: archlinux debian-trixie debian-unstable |
| 247 |
msgid "" |
| 248 |
"\\&B<SSL_CTX_sess_get_new_cb()>, B<SSL_CTX_sess_get_remove_cb()> and " |
| 249 |
"B<SSL_CTX_sess_get_get_cb()> return different callback function pointers " |
| 250 |
"respectively." |
| 251 |
msgstr "" |
| 252 |
|
| 253 |
#. type: IX |
| 254 |
#: archlinux debian-trixie debian-unstable |
| 255 |
#, no-wrap |
| 256 |
msgid "SEE ALSO" |
| 257 |
msgstr "" |
| 258 |
|
| 259 |
#. type: Plain text |
| 260 |
#: archlinux debian-trixie debian-unstable |
| 261 |
msgid "" |
| 262 |
"\\&B<ssl>\\|(7), B<d2i_SSL_SESSION>\\|(3), " |
| 263 |
"\\&B<SSL_CTX_set_session_cache_mode>\\|(3), \\&B<SSL_CTX_flush_sessions>\\|" |
| 264 |
"(3), \\&B<SSL_SESSION_free>\\|(3), \\&B<SSL_CTX_free>\\|(3)" |
| 265 |
msgstr "" |
| 266 |
|
| 267 |
#. type: IX |
| 268 |
#: archlinux debian-trixie debian-unstable |
| 269 |
#, no-wrap |
| 270 |
msgid "COPYRIGHT" |
| 271 |
msgstr "" |
| 272 |
|
| 273 |
#. type: Plain text |
| 274 |
#: archlinux debian-trixie debian-unstable |
| 275 |
msgid "Copyright 2001-2020 The OpenSSL Project Authors. All Rights Reserved." |
| 276 |
msgstr "" |
| 277 |
|
| 278 |
#. type: Plain text |
| 279 |
#: archlinux debian-trixie debian-unstable |
| 280 |
msgid "" |
| 281 |
"Licensed under the Apache License 2.0 (the \"License\"). You may not use " |
| 282 |
"this file except in compliance with the License. You can obtain a copy in " |
| 283 |
"the file LICENSE in the source distribution or at E<lt>https://" |
| 284 |
"www.openssl.org/source/license.htmlE<gt>." |
| 285 |
msgstr "" |
| 286 |
|
| 287 |
#. ======================================================================== |
| 288 |
#. type: IX |
| 289 |
#: debian-trixie debian-unstable |
| 290 |
#, no-wrap |
| 291 |
msgid "SSL_CTX_SESS_SET_GET_CB 3SSL" |
| 292 |
msgstr "" |
| 293 |
|
| 294 |
#. type: TH |
| 295 |
#: debian-trixie |
| 296 |
#, no-wrap |
| 297 |
msgid "3.5.6" |
| 298 |
msgstr "" |