Debian Codegraph @

po/fr/man3/SSL_CTX_set_psk_client_callback.3ssl.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Nicolas François <[email protected]>, 2008.
5 # David Prévot <[email protected]>, 2012-2015.
6 # Jean-Paul Guillonneau <[email protected]>, 2014.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
11 "PO-Revision-Date: 2015-07-18 20:33+0200\n"
12 "Last-Translator: Jean-Paul Guillonneau <[email protected]>\n"
13 "Language-Team: French <[email protected]>\n"
14 "Language: fr\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19 "X-Generator: Lokalize 1.5\n"
20
21 # #-#-#-#-# archlinux: SSL_CTX_set_psk_client_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #
23 #. #-#-#-#-# archlinux: SSL_CTX_set_psk_client_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
24 #. Required to disable full justification in groff 1.23.0.
25 #. ========================================================================
26 #. type: IX
27 #. #-#-#-#-# debian-trixie: SSL_CTX_set_psk_client_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
28 #. ========================================================================
29 #. type: IX
30 #. #-#-#-#-# debian-unstable: SSL_CTX_set_psk_client_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
31 #. ========================================================================
32 #. type: IX
33 #: archlinux debian-trixie debian-unstable
34 #, no-wrap
35 msgid "Title"
36 msgstr ""
37
38 #
39 #. Required to disable full justification in groff 1.23.0.
40 #. ========================================================================
41 #. type: IX
42 #: archlinux
43 #, no-wrap
44 msgid "SSL_CTX_SET_PSK_CLIENT_CALLBACK 3ssl"
45 msgstr ""
46
47 #. type: TH
48 #: archlinux debian-trixie debian-unstable
49 #, no-wrap
50 msgid "SSL_CTX_SET_PSK_CLIENT_CALLBACK"
51 msgstr ""
52
53 #. type: TH
54 #: archlinux debian-trixie debian-unstable
55 #, no-wrap
56 msgid "2026-04-07"
57 msgstr "7 avril 2026"
58
59 #. type: TH
60 #: archlinux debian-unstable
61 #, no-wrap
62 msgid "3.6.2"
63 msgstr "3.6.2"
64
65 #. type: TH
66 #: archlinux debian-trixie debian-unstable
67 #, no-wrap
68 msgid "OpenSSL"
69 msgstr "OpenSSL"
70
71 #. type: SH
72 #: archlinux debian-trixie debian-unstable
73 #, no-wrap
74 msgid "NAME"
75 msgstr "NOM"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable
79 msgid ""
80 "SSL_psk_client_cb_func, SSL_psk_use_session_cb_func, "
81 "SSL_CTX_set_psk_client_callback, SSL_set_psk_client_callback, "
82 "SSL_CTX_set_psk_use_session_callback, SSL_set_psk_use_session_callback \\&- "
83 "set PSK client callback"
84 msgstr ""
85
86 #. type: IX
87 #: archlinux debian-trixie debian-unstable
88 #, no-wrap
89 msgid "SYNOPSIS"
90 msgstr "SYNOPSIS"
91
92 #. type: IX
93 #: archlinux debian-trixie debian-unstable
94 #, no-wrap
95 msgid "Header"
96 msgstr ""
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable
100 #, no-wrap
101 msgid ""
102 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
103 "\\&\n"
104 "\\& typedef int (*SSL_psk_use_session_cb_func)(SSL *ssl, const EVP_MD *md,\n"
105 "\\& const unsigned char **id,\n"
106 "\\& size_t *idlen,\n"
107 "\\& SSL_SESSION **sess);\n"
108 "\\&\n"
109 "\\&\n"
110 "\\& void SSL_CTX_set_psk_use_session_callback(SSL_CTX *ctx,\n"
111 "\\& SSL_psk_use_session_cb_func cb);\n"
112 "\\& void SSL_set_psk_use_session_callback(SSL *s, SSL_psk_use_session_cb_func cb);\n"
113 "\\&\n"
114 "\\&\n"
115 "\\& typedef unsigned int (*SSL_psk_client_cb_func)(SSL *ssl,\n"
116 "\\& const char *hint,\n"
117 "\\& char *identity,\n"
118 "\\& unsigned int max_identity_len,\n"
119 "\\& unsigned char *psk,\n"
120 "\\& unsigned int max_psk_len);\n"
121 "\\&\n"
122 "\\& void SSL_CTX_set_psk_client_callback(SSL_CTX *ctx, SSL_psk_client_cb_func cb);\n"
123 "\\& void SSL_set_psk_client_callback(SSL *ssl, SSL_psk_client_cb_func cb);\n"
124 msgstr ""
125
126 #. type: IX
127 #: archlinux debian-trixie debian-unstable
128 #, no-wrap
129 msgid "DESCRIPTION"
130 msgstr "DESCRIPTION"
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable
134 msgid ""
135 "A client application wishing to use TLSv1.3 PSKs should use either "
136 "\\&B<SSL_CTX_set_psk_use_session_callback()> or "
137 "B<SSL_set_psk_use_session_callback()> as appropriate. These functions cannot "
138 "be used for TLSv1.2 and below PSKs."
139 msgstr ""
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable
143 msgid ""
144 "The callback function is given a pointer to the SSL connection in B<ssl>."
145 msgstr ""
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable
149 msgid ""
150 "The first time the callback is called for a connection the B<md> parameter "
151 "is NULL. In some circumstances the callback will be called a second time. In "
152 "that case the server will have specified a ciphersuite to use already and "
153 "the PSK must be compatible with the digest for that ciphersuite. The digest "
154 "will be given in B<md>. The PSK returned by the callback is allowed to be "
155 "different between the first and second time it is called."
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable
160 msgid ""
161 "On successful completion the callback must store a pointer to an identifier "
162 "for the PSK in B<*id>. The identifier length in bytes should be stored in "
163 "B<*idlen>. The memory pointed to by B<*id> remains owned by the application "
164 "and should be freed by it as required at any point after the handshake is "
165 "complete."
166 msgstr ""
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable
170 msgid ""
171 "Additionally the callback should store a pointer to an SSL_SESSION object in "
172 "\\&B<*sess>. This is used as the basis for the PSK, and should, at a "
173 "minimum, have the following fields set:"
174 msgstr ""
175
176 #. type: IX
177 #: archlinux debian-trixie debian-unstable
178 #, no-wrap
179 msgid "The master key"
180 msgstr ""
181
182 #. type: IX
183 #: archlinux debian-trixie debian-unstable
184 #, no-wrap
185 msgid "Item"
186 msgstr ""
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable
190 msgid "This can be set via a call to B<SSL_SESSION_set1_master_key>\\|(3)."
191 msgstr ""
192
193 #. type: IX
194 #: archlinux debian-trixie debian-unstable
195 #, fuzzy, no-wrap
196 #| msgid "B<-ciphersuites> I<val>"
197 msgid "A ciphersuite"
198 msgstr "B<-ciphersuites> I<val>"
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable
202 msgid ""
203 "Only the handshake digest associated with the ciphersuite is relevant for "
204 "the PSK (the server may go on to negotiate any ciphersuite which is "
205 "compatible with the digest). The application can use any TLSv1.3 "
206 "ciphersuite. If B<md> is not NULL the handshake digest for the ciphersuite "
207 "should be the same. The ciphersuite can be set via a call to "
208 "E<lt>B<SSL_SESSION_set_cipher>\\|(3)E<gt>. The handshake digest of an "
209 "SSL_CIPHER object can be checked using "
210 "E<lt>B<SSL_CIPHER_get_handshake_digest>\\|(3)E<gt>."
211 msgstr ""
212
213 #. type: IX
214 #: archlinux debian-trixie debian-unstable
215 #, no-wrap
216 msgid "The protocol version"
217 msgstr ""
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable
221 msgid ""
222 "This can be set via a call to B<SSL_SESSION_set_protocol_version>\\|(3) and "
223 "should be TLS1_3_VERSION."
224 msgstr ""
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable
228 msgid ""
229 "Additionally the maximum early data value should be set via a call to "
230 "\\&B<SSL_SESSION_set_max_early_data>\\|(3) if the PSK will be used for "
231 "sending early data."
232 msgstr ""
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable
236 msgid ""
237 "Alternatively an SSL_SESSION created from a previous non-PSK handshake may "
238 "also be used as the basis for a PSK."
239 msgstr ""
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable
243 msgid ""
244 "Ownership of the SSL_SESSION object is passed to the OpenSSL library and so "
245 "it should not be freed by the application."
246 msgstr ""
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable
250 msgid ""
251 "Note that as described above, the callback may be called a second time "
252 "during a handshake. Since ownership of the SSL_SESSION is transferred to "
253 "OpenSSL on each call, if the callback wishes to return the same SSL_SESSION "
254 "pointer on a subsequent invocation, it must first call "
255 "B<SSL_SESSION_up_ref>\\|(3) to increment the reference count. Failure to do "
256 "so will result in a use-after-free error. Alternatively, the callback may "
257 "return a different SSL_SESSION object on each call (e.g., by calling "
258 "B<SSL_SESSION_dup>\\|(3))."
259 msgstr ""
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable
263 msgid ""
264 "It is also possible for the callback to succeed but not supply a PSK. In "
265 "this case no PSK will be sent to the server but the handshake will continue. "
266 "To do this the callback should return successfully and ensure that B<*sess> "
267 "is NULL. The contents of B<*id> and B<*idlen> will be ignored."
268 msgstr ""
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable
272 #, fuzzy
273 #| msgid ""
274 #| "A client application must provide a callback function which is called "
275 #| "when the client is sending the ClientKeyExchange message to the server."
276 msgid ""
277 "A client application wishing to use PSK ciphersuites for TLSv1.2 and below "
278 "must provide a different callback function. This function will be called "
279 "when the client is sending the ClientKeyExchange message to the server."
280 msgstr ""
281 "Une application cliente doit fournir une fonction de rappel qui est appelée "
282 "quand le client envoie le message ClientKeyExchange au serveur."
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable
286 msgid ""
287 "The purpose of the callback function is to select the PSK identity and the "
288 "pre-shared key to use during the connection setup phase."
289 msgstr ""
290 "Le but de cette fonction de rappel est de sélectionner l'identité PSK et la "
291 "clef prépartagée à utiliser pendant la phase de configuration de connexion."
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable
295 #, fuzzy
296 #| msgid ""
297 #| "The callback is set using functions SSL_CTX_set_psk_client_callback() or "
298 #| "SSL_set_psk_client_callback(). The callback function is given the "
299 #| "connection in parameter B<ssl>, a B<NULL>-terminated PSK identity hint "
300 #| "sent by the server in parameter B<hint>, a buffer B<identity> of length "
301 #| "B<max_identity_len> bytes where the the resulting B<NULL>-terminated "
302 #| "identity is to be stored, and a buffer B<psk> of length B<max_psk_len> "
303 #| "bytes where the resulting pre-shared key is to be stored."
304 msgid ""
305 "The callback is set using functions B<SSL_CTX_set_psk_client_callback()> or "
306 "B<SSL_set_psk_client_callback()>. The callback function is given the "
307 "connection in parameter B<ssl>, a B<NUL>-terminated PSK identity hint sent "
308 "by the server in parameter B<hint>, a buffer B<identity> of length "
309 "B<max_identity_len> bytes (including the B<NUL>-terminator) where the "
310 "resulting B<NUL>-terminated identity is to be stored, and a buffer B<psk> of "
311 "length B<max_psk_len> bytes where the resulting pre-shared key is to be "
312 "stored."
313 msgstr ""
314 "Le rappel est défini en utilisant les fonctions "
315 "B<SSL_CTX_set_psk_client_callback>() ou B<SSL_set_psk_client_callback>(). À "
316 "la fonction de rappel sont fournis : la connexion dans le paramètre I<ssl>, "
317 "un indice d'identité PSK terminé par NULL envoyé par le serveur dans le "
318 "paramètre I<hint>, un tampon I<identity> de taille "
319 "I<max_identity_len> octets où l'identité terminée par NULL résultante sera "
320 "stockée, et un tampon I<psk> de taille I<max_psk_len> octets où la clef "
321 "prépartagée résultante sera stockée."
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable
325 msgid ""
326 "The callback for use in TLSv1.2 will also work in TLSv1.3 although it is "
327 "recommended to use B<SSL_CTX_set_psk_use_session_callback()> or "
328 "B<SSL_set_psk_use_session_callback()> for this purpose instead. If TLSv1.3 "
329 "has been negotiated then OpenSSL will first check to see if a callback has "
330 "been set via B<SSL_CTX_set_psk_use_session_callback()> or "
331 "B<SSL_set_psk_use_session_callback()> and it will use that in preference. If "
332 "no such callback is present then it will check to see if a callback has been "
333 "set via B<SSL_CTX_set_psk_client_callback()> or "
334 "\\&B<SSL_set_psk_client_callback()> and use that. In this case the B<hint> "
335 "value will always be NULL and the handshake digest will default to SHA-256 "
336 "for any returned PSK. TLSv1.3 early data exchanges are possible in PSK "
337 "connections only with the \\&B<SSL_psk_use_session_cb_func> callback, and "
338 "are not possible with the \\&B<SSL_psk_client_cb_func> callback."
339 msgstr ""
340
341 #. type: IX
342 #: archlinux debian-trixie debian-unstable
343 #, no-wrap
344 msgid "NOTES"
345 msgstr "NOTES"
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable
349 msgid "Note that parameter B<hint> given to the callback may be B<NULL>."
350 msgstr "Remarquez que le paramètre I<hint> donné au rappel pourrait être NULL."
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable
354 msgid ""
355 "A connection established via a TLSv1.3 PSK will appear as if session "
356 "resumption has occurred so that B<SSL_session_reused>\\|(3) will return true."
357 msgstr ""
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable
361 msgid ""
362 "There are no known security issues with sharing the same PSK between TLSv1.2 "
363 "(or below) and TLSv1.3. However, the RFC has this note of caution:"
364 msgstr ""
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable
368 msgid ""
369 "While there is no known way in which the same PSK might produce related "
370 "output in both versions, only limited analysis has been done. "
371 "Implementations can ensure safety from cross-protocol related output by not "
372 "reusing PSKs between TLS 1.3 and TLS 1.2."
373 msgstr ""
374
375 #. type: IX
376 #: archlinux debian-trixie debian-unstable
377 #, no-wrap
378 msgid "RETURN VALUES"
379 msgstr "VALEURS RENVOYÉES"
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable
383 #, fuzzy
384 #| msgid "Return values from the client callback are interpreted as follows:"
385 msgid ""
386 "Return values from the B<SSL_psk_client_cb_func> callback are interpreted as "
387 "follows:"
388 msgstr "Les valeurs de retour du rappel client sont interprétées comme suit."
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable
392 #, fuzzy
393 #| msgid ""
394 #| "On success (callback found a PSK identity and a pre-shared key to use) "
395 #| "the length (> 0) of B<psk> in bytes is returned."
396 msgid ""
397 "On success (callback found a PSK identity and a pre-shared key to use) the "
398 "length (E<gt> 0) of B<psk> in bytes is returned."
399 msgstr ""
400 "En cas de réussite (le rappel a trouvé une identité PSK et une clef "
401 "prépartagée à utiliser), la taille (> 0) de I<psk> en octet est renvoyée."
402
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable
405 #, fuzzy
406 #| msgid ""
407 #| "Otherwise or on errors callback should return 0. In this case the "
408 #| "connection setup fails."
409 msgid ""
410 "Otherwise or on errors the callback should return 0. In this case the "
411 "connection setup fails."
412 msgstr ""
413 "Sinon, ou en cas d'erreur, le rappel devrait renvoyer 0. Dans ce cas, la "
414 "configuration de connexion échoue."
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable
418 #, fuzzy
419 #| msgid ""
420 #| "Otherwise or on errors callback should return 0. In this case the "
421 #| "connection setup fails."
422 msgid ""
423 "The SSL_psk_use_session_cb_func callback should return 1 on success or 0 on "
424 "failure. In the event of failure the connection setup fails."
425 msgstr ""
426 "Sinon, ou en cas d'erreur, le rappel devrait renvoyer 0. Dans ce cas, la "
427 "configuration de connexion échoue."
428
429 #. type: IX
430 #: archlinux debian-trixie debian-unstable
431 #, no-wrap
432 msgid "SEE ALSO"
433 msgstr "VOIR AUSSI"
434
435 #. type: Plain text
436 #: archlinux debian-trixie debian-unstable
437 msgid ""
438 "\\&B<ssl>\\|(7), \\&B<SSL_CTX_set_psk_find_session_callback>\\|(3), "
439 "\\&B<SSL_set_psk_find_session_callback>\\|(3)"
440 msgstr ""
441
442 #. type: IX
443 #: archlinux debian-trixie debian-unstable
444 #, no-wrap
445 msgid "HISTORY"
446 msgstr "HISTORIQUE"
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable
450 #, fuzzy
451 #| msgid ""
452 #| "SSL_CTX_set_msg_callback(), SSL_CTX_set_msg_callback_arg(), "
453 #| "SSL_set_msg_callback() and SSL_get_msg_callback_arg() were added in "
454 #| "OpenSSL 0.9.7."
455 msgid ""
456 "\\&B<SSL_CTX_set_psk_use_session_callback()> and "
457 "B<SSL_set_psk_use_session_callback()> were added in OpenSSL 1.1.1."
458 msgstr ""
459 "B<SSL_CTX_set_msg_callback>(), B<SSL_CTX_set_msg_callback_arg>(), "
460 "B<SSL_set_msg_callback>() et B<SSL_get_msg_callback_arg>() ont été ajoutées "
461 "dans OpenSSL 0.9.7."
462
463 #. type: IX
464 #: archlinux debian-trixie debian-unstable
465 #, no-wrap
466 msgid "COPYRIGHT"
467 msgstr "COPYRIGHT"
468
469 #. type: Plain text
470 #: archlinux debian-trixie debian-unstable
471 #, fuzzy
472 #| msgid ""
473 #| "Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved."
474 msgid "Copyright 2006-2026 The OpenSSL Project Authors. All Rights Reserved."
475 msgstr ""
476 "Copyright 2006-2020 Les auteurs du projet OpenSSL. Tous droits réservés."
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable
480 msgid ""
481 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
482 "this file except in compliance with the License. You can obtain a copy in "
483 "the file LICENSE in the source distribution or at E<lt>https://"
484 "www.openssl.org/source/license.htmlE<gt>."
485 msgstr ""
486 "Sous licence Apache 2.0 (la « Licence »). Vous ne pouvez utiliser ce fichier "
487 "que conformément à la Licence. Vous trouverez une copie dans le fichier "
488 "\\s-1LICENSE\\s0 de la distribution du source ou à l'adresse E<lt>https://"
489 "www.openssl.org/source/license.htmlE<gt>."
490
491 #. ========================================================================
492 #. type: IX
493 #: debian-trixie debian-unstable
494 #, fuzzy, no-wrap
495 #| msgid "SSL_MODE_SEND_FALLBACK_SCSV"
496 msgid "SSL_CTX_SET_PSK_CLIENT_CALLBACK 3SSL"
497 msgstr "SSL_MODE_SEND_FALLBACK_SCSV"
498
499 #. type: TH
500 #: debian-trixie
501 #, no-wrap
502 msgid "3.5.6"
503 msgstr "3.5.6"