| 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_set_tlsext_ticket_key_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 20 |
# |
| 21 |
#. #-#-#-#-# archlinux: SSL_CTX_set_tlsext_ticket_key_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_set_tlsext_ticket_key_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 26 |
#. ======================================================================== |
| 27 |
#. type: IX |
| 28 |
#. #-#-#-#-# debian-unstable: SSL_CTX_set_tlsext_ticket_key_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_SET_TLSEXT_TICKET_KEY_CB 3ssl" |
| 43 |
msgstr "" |
| 44 |
|
| 45 |
#. type: TH |
| 46 |
#: archlinux debian-trixie debian-unstable |
| 47 |
#, no-wrap |
| 48 |
msgid "SSL_CTX_SET_TLSEXT_TICKET_KEY_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_set_tlsext_ticket_key_evp_cb, SSL_CTX_set_tlsext_ticket_key_cb \\&- " |
| 79 |
"set a callback for session ticket processing" |
| 80 |
msgstr "" |
| 81 |
|
| 82 |
#. type: IX |
| 83 |
#: archlinux debian-trixie debian-unstable |
| 84 |
#, no-wrap |
| 85 |
msgid "SYNOPSIS" |
| 86 |
msgstr "" |
| 87 |
|
| 88 |
#. type: IX |
| 89 |
#: archlinux debian-trixie debian-unstable |
| 90 |
#, no-wrap |
| 91 |
msgid "Header" |
| 92 |
msgstr "" |
| 93 |
|
| 94 |
#. type: Plain text |
| 95 |
#: archlinux debian-trixie debian-unstable |
| 96 |
#, no-wrap |
| 97 |
msgid "" |
| 98 |
"\\& #include E<lt>openssl/tls1.hE<gt>\n" |
| 99 |
"\\&\n" |
| 100 |
"\\& int SSL_CTX_set_tlsext_ticket_key_evp_cb(SSL_CTX sslctx,\n" |
| 101 |
"\\& int (*cb)(SSL *s, unsigned char key_name[16],\n" |
| 102 |
"\\& unsigned char iv[EVP_MAX_IV_LENGTH],\n" |
| 103 |
"\\& EVP_CIPHER_CTX *ctx, EVP_MAC_CTX *hctx, int enc));\n" |
| 104 |
msgstr "" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable |
| 108 |
msgid "" |
| 109 |
"The following function has been deprecated since OpenSSL 3.0, and can be " |
| 110 |
"hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version " |
| 111 |
"value, see B<openssl_user_macros>\\|(7):" |
| 112 |
msgstr "" |
| 113 |
|
| 114 |
#. type: Plain text |
| 115 |
#: archlinux debian-trixie debian-unstable |
| 116 |
#, no-wrap |
| 117 |
msgid "" |
| 118 |
"\\& int SSL_CTX_set_tlsext_ticket_key_cb(SSL_CTX sslctx,\n" |
| 119 |
"\\& int (*cb)(SSL *s, unsigned char key_name[16],\n" |
| 120 |
"\\& unsigned char iv[EVP_MAX_IV_LENGTH],\n" |
| 121 |
"\\& EVP_CIPHER_CTX *ctx, HMAC_CTX *hctx, int enc));\n" |
| 122 |
msgstr "" |
| 123 |
|
| 124 |
#. type: IX |
| 125 |
#: archlinux debian-trixie debian-unstable |
| 126 |
#, no-wrap |
| 127 |
msgid "DESCRIPTION" |
| 128 |
msgstr "" |
| 129 |
|
| 130 |
#. type: Plain text |
| 131 |
#: archlinux debian-trixie debian-unstable |
| 132 |
msgid "" |
| 133 |
"\\&B<SSL_CTX_set_tlsext_ticket_key_evp_cb()> sets a callback function I<cb> " |
| 134 |
"for handling session tickets for the ssl context I<sslctx>. Session tickets, " |
| 135 |
"defined in RFC5077 provide an enhanced session resumption capability where " |
| 136 |
"the server implementation is not required to maintain per session state. It " |
| 137 |
"only applies to TLS and there is no SSLv3 implementation." |
| 138 |
msgstr "" |
| 139 |
|
| 140 |
#. type: Plain text |
| 141 |
#: archlinux debian-trixie debian-unstable |
| 142 |
msgid "" |
| 143 |
"The callback function I<cb> will be called for every client instigated TLS " |
| 144 |
"session when session ticket extension is presented in the TLS hello message. " |
| 145 |
"It is the responsibility of this function to create or retrieve the " |
| 146 |
"cryptographic parameters and to maintain their state." |
| 147 |
msgstr "" |
| 148 |
|
| 149 |
#. type: Plain text |
| 150 |
#: archlinux debian-trixie debian-unstable |
| 151 |
msgid "" |
| 152 |
"The OpenSSL library uses your callback function to help implement a common " |
| 153 |
"TLS ticket construction state according to RFC5077 Section 4 such that per " |
| 154 |
"session state is unnecessary and a small set of cryptographic variables " |
| 155 |
"needs to be maintained by the callback function implementation." |
| 156 |
msgstr "" |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-trixie debian-unstable |
| 160 |
msgid "" |
| 161 |
"In order to reuse a session, a TLS client must send the session ticket " |
| 162 |
"extension to the server. The client must send exactly one session ticket. " |
| 163 |
"The server, through the callback function, either agrees to reuse the " |
| 164 |
"session ticket information or it starts a full TLS handshake to create a new " |
| 165 |
"session ticket." |
| 166 |
msgstr "" |
| 167 |
|
| 168 |
#. type: Plain text |
| 169 |
#: archlinux debian-trixie debian-unstable |
| 170 |
msgid "" |
| 171 |
"Before the callback function is started I<ctx> and I<hctx> have been " |
| 172 |
"initialised with B<EVP_CIPHER_CTX_reset>\\|(3) and B<EVP_MAC_CTX_new>\\|(3) " |
| 173 |
"respectively." |
| 174 |
msgstr "" |
| 175 |
|
| 176 |
#. type: Plain text |
| 177 |
#: archlinux |
| 178 |
msgid "" |
| 179 |
"For new sessions tickets, when the client doesn\\*(Aqt present a session " |
| 180 |
"ticket, or an attempted retrieval of the ticket failed, or a renew option " |
| 181 |
"was indicated, the callback function will be called with I<enc> equal to 1. " |
| 182 |
"The OpenSSL library expects that the function will set an arbitrary I<name>, " |
| 183 |
"initialize \\&I<iv>, and set the cipher context I<ctx> and the hash context " |
| 184 |
"I<hctx>." |
| 185 |
msgstr "" |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-trixie debian-unstable |
| 189 |
msgid "The I<name> is 16 characters long and is used as a key identifier." |
| 190 |
msgstr "" |
| 191 |
|
| 192 |
#. type: Plain text |
| 193 |
#: archlinux debian-trixie debian-unstable |
| 194 |
msgid "" |
| 195 |
"The I<iv> length is the length of the IV of the corresponding cipher. The " |
| 196 |
"maximum IV length is B<EVP_MAX_IV_LENGTH> bytes defined in I<E<lt>openssl/" |
| 197 |
"evp.hE<gt>>." |
| 198 |
msgstr "" |
| 199 |
|
| 200 |
#. type: Plain text |
| 201 |
#: archlinux debian-trixie debian-unstable |
| 202 |
msgid "" |
| 203 |
"The initialization vector I<iv> should be a random value. The cipher context " |
| 204 |
"\\&I<ctx> should use the initialisation vector I<iv>. The cipher context can " |
| 205 |
"be set using B<EVP_EncryptInit_ex>\\|(3). The hmac context and digest can be " |
| 206 |
"set using \\&B<EVP_MAC_CTX_set_params>\\|(3) with the B<OSSL_MAC_PARAM_KEY> " |
| 207 |
"and \\&B<OSSL_MAC_PARAM_DIGEST> parameters respectively." |
| 208 |
msgstr "" |
| 209 |
|
| 210 |
#. type: Plain text |
| 211 |
#: archlinux debian-trixie debian-unstable |
| 212 |
msgid "" |
| 213 |
"When the client presents a session ticket, the callback function with be " |
| 214 |
"called with I<enc> set to 0 indicating that the I<cb> function should " |
| 215 |
"retrieve a set of parameters. In this case I<name> and I<iv> have already " |
| 216 |
"been parsed out of the session ticket. The OpenSSL library expects that the " |
| 217 |
"I<name> will be used to retrieve a cryptographic parameters and that the " |
| 218 |
"cryptographic context \\&I<ctx> will be set with the retrieved parameters " |
| 219 |
"and the initialization vector \\&I<iv>. using a function like " |
| 220 |
"B<EVP_DecryptInit_ex>\\|(3). The key material and digest for I<hctx> need to " |
| 221 |
"be set using B<EVP_MAC_CTX_set_params>\\|(3) with the " |
| 222 |
"\\&B<OSSL_MAC_PARAM_KEY> and B<OSSL_MAC_PARAM_DIGEST> parameters " |
| 223 |
"respectively." |
| 224 |
msgstr "" |
| 225 |
|
| 226 |
#. type: Plain text |
| 227 |
#: archlinux debian-trixie debian-unstable |
| 228 |
msgid "" |
| 229 |
"If the I<name> is still valid but a renewal of the ticket is required the " |
| 230 |
"callback function should return 2. The library will call the callback again " |
| 231 |
"with an argument of enc equal to 1 to set the new ticket." |
| 232 |
msgstr "" |
| 233 |
|
| 234 |
#. type: Plain text |
| 235 |
#: archlinux debian-trixie debian-unstable |
| 236 |
msgid "" |
| 237 |
"The return value of the I<cb> function is used by OpenSSL to determine what " |
| 238 |
"further processing will occur. The following return values have meaning:" |
| 239 |
msgstr "" |
| 240 |
|
| 241 |
#. type: IX |
| 242 |
#: archlinux debian-trixie debian-unstable |
| 243 |
#, no-wrap |
| 244 |
msgid "2" |
| 245 |
msgstr "" |
| 246 |
|
| 247 |
#. type: IX |
| 248 |
#: archlinux debian-trixie debian-unstable |
| 249 |
#, no-wrap |
| 250 |
msgid "Item" |
| 251 |
msgstr "" |
| 252 |
|
| 253 |
#. type: Plain text |
| 254 |
#: archlinux debian-trixie debian-unstable |
| 255 |
msgid "" |
| 256 |
"This indicates that the I<ctx> and I<hctx> have been set and the session can " |
| 257 |
"continue on those parameters. Additionally it indicates that the session " |
| 258 |
"ticket is in a renewal period and should be replaced. The OpenSSL library " |
| 259 |
"will call I<cb> again with an enc argument of 1 to set the new ticket (see " |
| 260 |
"RFC5077 3.3 paragraph 2)." |
| 261 |
msgstr "" |
| 262 |
|
| 263 |
#. type: IX |
| 264 |
#: archlinux debian-trixie debian-unstable |
| 265 |
#, no-wrap |
| 266 |
msgid "1" |
| 267 |
msgstr "" |
| 268 |
|
| 269 |
#. type: Plain text |
| 270 |
#: archlinux debian-trixie debian-unstable |
| 271 |
msgid "" |
| 272 |
"This indicates that the I<ctx> and I<hctx> have been set and the session can " |
| 273 |
"continue on those parameters." |
| 274 |
msgstr "" |
| 275 |
|
| 276 |
#. type: IP |
| 277 |
#: archlinux debian-trixie debian-unstable |
| 278 |
#, no-wrap |
| 279 |
msgid "0" |
| 280 |
msgstr "" |
| 281 |
|
| 282 |
#. type: Plain text |
| 283 |
#: archlinux debian-trixie debian-unstable |
| 284 |
msgid "" |
| 285 |
"This indicates that it was not possible to set/retrieve a session ticket and " |
| 286 |
"the SSL/TLS session will continue by negotiating a set of cryptographic " |
| 287 |
"parameters or using the alternate SSL/TLS resumption mechanism, session ids." |
| 288 |
msgstr "" |
| 289 |
|
| 290 |
#. type: Plain text |
| 291 |
#: archlinux debian-trixie debian-unstable |
| 292 |
msgid "" |
| 293 |
"If called with enc equal to 0 the library will call the I<cb> again to get a " |
| 294 |
"new set of parameters." |
| 295 |
msgstr "" |
| 296 |
|
| 297 |
#. type: IX |
| 298 |
#: archlinux debian-trixie debian-unstable |
| 299 |
#, no-wrap |
| 300 |
msgid "less than 0" |
| 301 |
msgstr "" |
| 302 |
|
| 303 |
#. type: Plain text |
| 304 |
#: archlinux debian-trixie debian-unstable |
| 305 |
msgid "This indicates an error." |
| 306 |
msgstr "" |
| 307 |
|
| 308 |
#. type: Plain text |
| 309 |
#: archlinux debian-trixie debian-unstable |
| 310 |
msgid "" |
| 311 |
"The B<SSL_CTX_set_tlsext_ticket_key_cb()> function is identical to " |
| 312 |
"\\&B<SSL_CTX_set_tlsext_ticket_key_evp_cb()> except that it takes a " |
| 313 |
"deprecated HMAC_CTX pointer instead of an EVP_MAC_CTX one. Before this " |
| 314 |
"callback function is started I<hctx> will have been initialised with " |
| 315 |
"B<EVP_MAC_CTX_new>\\|(3) and the digest set with " |
| 316 |
"\\&B<EVP_MAC_CTX_set_params>\\|(3). The I<hctx> key material can be set " |
| 317 |
"using B<HMAC_Init_ex>\\|(3)." |
| 318 |
msgstr "" |
| 319 |
|
| 320 |
#. type: IX |
| 321 |
#: archlinux debian-trixie debian-unstable |
| 322 |
#, no-wrap |
| 323 |
msgid "NOTES" |
| 324 |
msgstr "" |
| 325 |
|
| 326 |
#. type: Plain text |
| 327 |
#: archlinux |
| 328 |
msgid "" |
| 329 |
"Session resumption shortcuts the TLS handshake so that the client " |
| 330 |
"certificate negotiation doesn\\*(Aqt occur. It makes up for this by storing " |
| 331 |
"the client certificate and all other negotiated state information encrypted " |
| 332 |
"within the ticket. In a resumed session the applications will have all this " |
| 333 |
"state information available exactly as if a full negotiation had occurred." |
| 334 |
msgstr "" |
| 335 |
|
| 336 |
#. type: Plain text |
| 337 |
#: archlinux debian-trixie debian-unstable |
| 338 |
msgid "" |
| 339 |
"If an attacker can obtain the key used to encrypt a session ticket, they can " |
| 340 |
"obtain the master secret for any ticket using that key and decrypt any " |
| 341 |
"traffic using that session: even if the cipher suite supports forward " |
| 342 |
"secrecy. As a result applications may wish to use multiple keys and avoid " |
| 343 |
"using long term keys stored in files." |
| 344 |
msgstr "" |
| 345 |
|
| 346 |
#. type: Plain text |
| 347 |
#: archlinux debian-trixie debian-unstable |
| 348 |
msgid "" |
| 349 |
"Applications can use longer keys to maintain a consistent level of " |
| 350 |
"security. For example if a cipher suite uses 256 bit ciphers but only a 128 " |
| 351 |
"bit ticket key the overall security is only 128 bits because breaking the " |
| 352 |
"ticket key will enable an attacker to obtain the session keys." |
| 353 |
msgstr "" |
| 354 |
|
| 355 |
#. type: IX |
| 356 |
#: archlinux debian-trixie debian-unstable |
| 357 |
#, no-wrap |
| 358 |
msgid "RETURN VALUES" |
| 359 |
msgstr "" |
| 360 |
|
| 361 |
#. type: Plain text |
| 362 |
#: archlinux debian-trixie debian-unstable |
| 363 |
msgid "Returns 1 to indicate the callback function was set and 0 otherwise." |
| 364 |
msgstr "" |
| 365 |
|
| 366 |
#. type: IX |
| 367 |
#: archlinux debian-trixie debian-unstable |
| 368 |
#, no-wrap |
| 369 |
msgid "EXAMPLES" |
| 370 |
msgstr "" |
| 371 |
|
| 372 |
#. type: Plain text |
| 373 |
#: archlinux debian-trixie debian-unstable |
| 374 |
msgid "Reference Implementation:" |
| 375 |
msgstr "" |
| 376 |
|
| 377 |
#. type: Plain text |
| 378 |
#: archlinux debian-trixie debian-unstable |
| 379 |
#, no-wrap |
| 380 |
msgid "" |
| 381 |
"\\& SSL_CTX_set_tlsext_ticket_key_evp_cb(SSL, ssl_tlsext_ticket_key_cb);\n" |
| 382 |
"\\& ...\n" |
| 383 |
"\\&\n" |
| 384 |
"\\& static int ssl_tlsext_ticket_key_cb(SSL *s, unsigned char key_name[16],\n" |
| 385 |
"\\& unsigned char *iv, EVP_CIPHER_CTX *ctx,\n" |
| 386 |
"\\& EVP_MAC_CTX *hctx, int enc)\n" |
| 387 |
"\\& {\n" |
| 388 |
"\\& OSSL_PARAM params[3];\n" |
| 389 |
"\\& your_type_t *key; /* something that you need to implement */\n" |
| 390 |
"\\&\n" |
| 391 |
"\\& if (enc) { /* create new session */\n" |
| 392 |
"\\& if (RAND_bytes(iv, EVP_MAX_IV_LENGTH) E<lt>= 0)\n" |
| 393 |
"\\& return -1; /* insufficient random */\n" |
| 394 |
"\\&\n" |
| 395 |
"\\& key = currentkey(); /* something that you need to implement */\n" |
| 396 |
"\\& if (key == NULL) {\n" |
| 397 |
"\\& /* current key doesn\\*(Aqt exist or isn\\*(Aqt valid */\n" |
| 398 |
"\\& key = createkey(); /*\n" |
| 399 |
"\\& * Something that you need to implement.\n" |
| 400 |
"\\& * createkey needs to initialise a name,\n" |
| 401 |
"\\& * an aes_key, a hmac_key and optionally\n" |
| 402 |
"\\& * an expire time.\n" |
| 403 |
"\\& */\n" |
| 404 |
"\\& if (key == NULL) /* key couldn\\*(Aqt be created */\n" |
| 405 |
"\\& return 0;\n" |
| 406 |
"\\& }\n" |
| 407 |
"\\& memcpy(key_name, key-E<gt>name, 16);\n" |
| 408 |
"\\&\n" |
| 409 |
"\\& if (EVP_EncryptInit_ex(&ctx, EVP_aes_256_cbc(), NULL, key-E<gt>aes_key,\n" |
| 410 |
"\\& iv) == 0)\n" |
| 411 |
"\\& return -1; /* error in cipher initialisation */\n" |
| 412 |
"\\&\n" |
| 413 |
"\\& params[0] = OSSL_PARAM_construct_octet_string(OSSL_MAC_PARAM_KEY,\n" |
| 414 |
"\\& key-E<gt>hmac_key, 32);\n" |
| 415 |
"\\& params[1] = OSSL_PARAM_construct_utf8_string(OSSL_MAC_PARAM_DIGEST,\n" |
| 416 |
"\\& \"sha256\", 0);\n" |
| 417 |
"\\& params[2] = OSSL_PARAM_construct_end();\n" |
| 418 |
"\\& if (EVP_MAC_CTX_set_params(hctx, params) == 0)\n" |
| 419 |
"\\& return -1; /* error in mac initialisation */\n" |
| 420 |
"\\&\n" |
| 421 |
"\\& return 1;\n" |
| 422 |
"\\&\n" |
| 423 |
"\\& } else { /* retrieve session */\n" |
| 424 |
"\\& time_t t = time(NULL);\n" |
| 425 |
"\\& key = findkey(key_name); /* something that you need to implement */\n" |
| 426 |
"\\&\n" |
| 427 |
"\\& if (key == NULL || key-E<gt>expire E<lt> t)\n" |
| 428 |
"\\& return 0;\n" |
| 429 |
"\\&\n" |
| 430 |
"\\& params[0] = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_KEY,\n" |
| 431 |
"\\& key-E<gt>hmac_key, 32);\n" |
| 432 |
"\\& params[1] = OSSL_PARAM_construct_utf8_string(OSSL_MAC_PARAM_DIGEST,\n" |
| 433 |
"\\& \"sha256\", 0);\n" |
| 434 |
"\\& params[2] = OSSL_PARAM_construct_end();\n" |
| 435 |
"\\& if (EVP_MAC_CTX_set_params(hctx, params) == 0)\n" |
| 436 |
"\\& return -1; /* error in mac initialisation */\n" |
| 437 |
"\\&\n" |
| 438 |
"\\& if (EVP_DecryptInit_ex(&ctx, EVP_aes_256_cbc(), NULL, key-E<gt>aes_key,\n" |
| 439 |
"\\& iv) == 0)\n" |
| 440 |
"\\& return -1; /* error in cipher initialisation */\n" |
| 441 |
"\\&\n" |
| 442 |
"\\& if (key-E<gt>expire E<lt> t - RENEW_TIME) { /* RENEW_TIME: implement */\n" |
| 443 |
"\\& /*\n" |
| 444 |
"\\& * return 2 - This session will get a new ticket even though the\n" |
| 445 |
"\\& * current one is still valid.\n" |
| 446 |
"\\& */\n" |
| 447 |
"\\& return 2;\n" |
| 448 |
"\\& }\n" |
| 449 |
"\\& return 1;\n" |
| 450 |
"\\& }\n" |
| 451 |
"\\& }\n" |
| 452 |
msgstr "" |
| 453 |
|
| 454 |
#. type: IX |
| 455 |
#: archlinux debian-trixie debian-unstable |
| 456 |
#, no-wrap |
| 457 |
msgid "SEE ALSO" |
| 458 |
msgstr "" |
| 459 |
|
| 460 |
#. type: Plain text |
| 461 |
#: archlinux debian-trixie debian-unstable |
| 462 |
msgid "" |
| 463 |
"\\&B<ssl>\\|(7), B<SSL_set_session>\\|(3), \\&B<SSL_session_reused>\\|(3), " |
| 464 |
"\\&B<SSL_CTX_add_session>\\|(3), \\&B<SSL_CTX_sess_number>\\|(3), " |
| 465 |
"\\&B<SSL_CTX_sess_set_get_cb>\\|(3), \\&B<SSL_CTX_set_session_id_context>\\|" |
| 466 |
"(3)," |
| 467 |
msgstr "" |
| 468 |
|
| 469 |
#. type: IX |
| 470 |
#: archlinux debian-trixie debian-unstable |
| 471 |
#, no-wrap |
| 472 |
msgid "HISTORY" |
| 473 |
msgstr "" |
| 474 |
|
| 475 |
#. type: Plain text |
| 476 |
#: archlinux debian-trixie debian-unstable |
| 477 |
msgid "" |
| 478 |
"The B<SSL_CTX_set_tlsext_ticket_key_cb()> function was deprecated in OpenSSL " |
| 479 |
"3.0." |
| 480 |
msgstr "" |
| 481 |
|
| 482 |
#. type: Plain text |
| 483 |
#: archlinux debian-trixie debian-unstable |
| 484 |
msgid "" |
| 485 |
"The B<SSL_CTX_set_tlsext_ticket_key_evp_cb()> function was introduced in " |
| 486 |
"OpenSSL 3.0." |
| 487 |
msgstr "" |
| 488 |
|
| 489 |
#. type: IX |
| 490 |
#: archlinux debian-trixie debian-unstable |
| 491 |
#, no-wrap |
| 492 |
msgid "COPYRIGHT" |
| 493 |
msgstr "" |
| 494 |
|
| 495 |
#. type: Plain text |
| 496 |
#: archlinux debian-trixie debian-unstable |
| 497 |
msgid "Copyright 2014-2024 The OpenSSL Project Authors. All Rights Reserved." |
| 498 |
msgstr "" |
| 499 |
|
| 500 |
#. type: Plain text |
| 501 |
#: archlinux debian-trixie debian-unstable |
| 502 |
msgid "" |
| 503 |
"Licensed under the Apache License 2.0 (the \"License\"). You may not use " |
| 504 |
"this file except in compliance with the License. You can obtain a copy in " |
| 505 |
"the file LICENSE in the source distribution or at E<lt>https://" |
| 506 |
"www.openssl.org/source/license.htmlE<gt>." |
| 507 |
msgstr "" |
| 508 |
|
| 509 |
#. ======================================================================== |
| 510 |
#. type: IX |
| 511 |
#: debian-trixie debian-unstable |
| 512 |
#, no-wrap |
| 513 |
msgid "SSL_CTX_SET_TLSEXT_TICKET_KEY_CB 3SSL" |
| 514 |
msgstr "" |
| 515 |
|
| 516 |
#. type: TH |
| 517 |
#: debian-trixie |
| 518 |
#, no-wrap |
| 519 |
msgid "3.5.6" |
| 520 |
msgstr "" |
| 521 |
|
| 522 |
#. type: Plain text |
| 523 |
#: debian-trixie debian-unstable |
| 524 |
msgid "" |
| 525 |
"For new sessions tickets, when the client doesn't present a session ticket, " |
| 526 |
"or an attempted retrieval of the ticket failed, or a renew option was " |
| 527 |
"indicated, the callback function will be called with I<enc> equal to 1. The " |
| 528 |
"OpenSSL library expects that the function will set an arbitrary I<name>, " |
| 529 |
"initialize \\&I<iv>, and set the cipher context I<ctx> and the hash context " |
| 530 |
"I<hctx>." |
| 531 |
msgstr "" |
| 532 |
|
| 533 |
#. type: Plain text |
| 534 |
#: debian-trixie debian-unstable |
| 535 |
msgid "" |
| 536 |
"Session resumption shortcuts the TLS handshake so that the client " |
| 537 |
"certificate negotiation doesn't occur. It makes up for this by storing the " |
| 538 |
"client certificate and all other negotiated state information encrypted " |
| 539 |
"within the ticket. In a resumed session the applications will have all this " |
| 540 |
"state information available exactly as if a full negotiation had occurred." |
| 541 |
msgstr "" |