Debian Codegraph @

po/fr/man3/X509_STORE_CTX_set_verify_cb.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 # Alexandre Mathou <[email protected]>, 2014.
7 # Baptiste Jammet <[email protected]>, 2015.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:51+0200\n"
12 "PO-Revision-Date: 2015-06-20 09:00+0100\n"
13 "Last-Translator: Baptiste Jammet <[email protected]>\n"
14 "Language-Team: French <[email protected]>\n"
15 "Language: fr\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
20 "X-Generator: Poedit 1.6.10\n"
21
22 # #-#-#-#-# archlinux: X509_STORE_CTX_set_verify_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
23 #
24 #. #-#-#-#-# archlinux: X509_STORE_CTX_set_verify_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
25 #. Required to disable full justification in groff 1.23.0.
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-trixie: X509_STORE_CTX_set_verify_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
29 #. ========================================================================
30 #. type: IX
31 #. #-#-#-#-# debian-unstable: X509_STORE_CTX_set_verify_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
32 #. ========================================================================
33 #. type: IX
34 #: archlinux debian-trixie debian-unstable
35 #, no-wrap
36 msgid "Title"
37 msgstr ""
38
39 #
40 #. Required to disable full justification in groff 1.23.0.
41 #. ========================================================================
42 #. type: IX
43 #: archlinux
44 #, no-wrap
45 msgid "X509_STORE_CTX_SET_VERIFY_CB 3ssl"
46 msgstr ""
47
48 #. type: TH
49 #: archlinux debian-trixie debian-unstable
50 #, no-wrap
51 msgid "X509_STORE_CTX_SET_VERIFY_CB"
52 msgstr ""
53
54 #. type: TH
55 #: archlinux debian-trixie debian-unstable
56 #, no-wrap
57 msgid "2026-04-07"
58 msgstr "7 avril 2026"
59
60 #. type: TH
61 #: archlinux debian-unstable
62 #, no-wrap
63 msgid "3.6.2"
64 msgstr "3.6.2"
65
66 #. type: TH
67 #: archlinux debian-trixie debian-unstable
68 #, no-wrap
69 msgid "OpenSSL"
70 msgstr "OpenSSL"
71
72 #. type: SH
73 #: archlinux debian-trixie debian-unstable
74 #, no-wrap
75 msgid "NAME"
76 msgstr "NOM"
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable
80 #, fuzzy
81 #| msgid ""
82 #| "X509_STORE_CTX_new, X509_STORE_CTX_cleanup, X509_STORE_CTX_free, "
83 #| "X509_STORE_CTX_init, X509_STORE_CTX_trusted_stack, "
84 #| "X509_STORE_CTX_set_cert, X509_STORE_CTX_set_chain, "
85 #| "X509_STORE_CTX_set0_crls, X509_STORE_CTX_get0_param, "
86 #| "X509_STORE_CTX_set0_param, X509_STORE_CTX_set_default - X509_STORE_CTX "
87 #| "initialisation"
88 msgid ""
89 "X509_STORE_CTX_get_cleanup, X509_STORE_CTX_get_lookup_crls, "
90 "X509_STORE_CTX_get_lookup_certs, X509_STORE_CTX_get_check_policy, "
91 "X509_STORE_CTX_get_cert_crl, X509_STORE_CTX_get_check_crl, "
92 "X509_STORE_CTX_get_get_crl, X509_STORE_CTX_set_get_crl, "
93 "X509_STORE_CTX_get_check_revocation, X509_STORE_CTX_get_check_issued, "
94 "X509_STORE_CTX_get_get_issuer, X509_STORE_CTX_get_verify_cb, "
95 "X509_STORE_CTX_set_verify_cb, X509_STORE_CTX_verify_cb, "
96 "X509_STORE_CTX_print_verify_cb, X509_STORE_CTX_set_current_reasons \\&- get "
97 "and set X509_STORE_CTX components such as verification callback"
98 msgstr ""
99 "X509_STORE_CTX_new, X509_STORE_CTX_cleanup, X509_STORE_CTX_free, "
100 "X509_STORE_CTX_init, X509_STORE_CTX_trusted_stack, X509_STORE_CTX_set_cert, "
101 "X509_STORE_CTX_set_chain, X509_STORE_CTX_set0_crls, "
102 "X509_STORE_CTX_get0_param, X509_STORE_CTX_set0_param, "
103 "X509_STORE_CTX_set_default - Initialisation de X509_STORE_CTX"
104
105 #. type: IX
106 #: archlinux debian-trixie debian-unstable
107 #, no-wrap
108 msgid "SYNOPSIS"
109 msgstr "SYNOPSIS"
110
111 #. type: IX
112 #: archlinux debian-trixie debian-unstable
113 #, no-wrap
114 msgid "Header"
115 msgstr ""
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable
119 #, no-wrap
120 msgid ""
121 "\\& #include E<lt>openssl/x509_vfy.hE<gt>\n"
122 "\\&\n"
123 "\\& typedef int (*X509_STORE_CTX_verify_cb)(int, X509_STORE_CTX *);\n"
124 "\\& int X509_STORE_CTX_print_verify_cb(int ok, X509_STORE_CTX *ctx);\n"
125 "\\&\n"
126 "\\& X509_STORE_CTX_verify_cb X509_STORE_CTX_get_verify_cb(X509_STORE_CTX *ctx);\n"
127 "\\&\n"
128 "\\& void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx,\n"
129 "\\& X509_STORE_CTX_verify_cb verify_cb);\n"
130 "\\&\n"
131 "\\& X509_STORE_CTX_get_issuer_fn X509_STORE_CTX_get_get_issuer(X509_STORE_CTX *ctx);\n"
132 "\\& X509_STORE_CTX_check_issued_fn X509_STORE_CTX_get_check_issued(X509_STORE_CTX *ctx);\n"
133 "\\& X509_STORE_CTX_check_revocation_fn X509_STORE_CTX_get_check_revocation(X509_STORE_CTX *ctx);\n"
134 "\\&\n"
135 "\\& X509_STORE_CTX_get_crl_fn X509_STORE_CTX_get_get_crl(X509_STORE_CTX *ctx);\n"
136 "\\&\n"
137 "\\& void X509_STORE_CTX_set_get_crl(X509_STORE_CTX *ctx,\n"
138 "\\& X509_STORE_CTX_get_crl_fn get_crl);\n"
139 "\\&\n"
140 "\\& X509_STORE_CTX_check_crl_fn X509_STORE_CTX_get_check_crl(X509_STORE_CTX *ctx);\n"
141 "\\& X509_STORE_CTX_cert_crl_fn X509_STORE_CTX_get_cert_crl(X509_STORE_CTX *ctx);\n"
142 "\\& X509_STORE_CTX_check_policy_fn X509_STORE_CTX_get_check_policy(X509_STORE_CTX *ctx);\n"
143 "\\& X509_STORE_CTX_lookup_certs_fn X509_STORE_CTX_get_lookup_certs(X509_STORE_CTX *ctx);\n"
144 "\\& X509_STORE_CTX_lookup_crls_fn X509_STORE_CTX_get_lookup_crls(X509_STORE_CTX *ctx);\n"
145 "\\& X509_STORE_CTX_cleanup_fn X509_STORE_CTX_get_cleanup(X509_STORE_CTX *ctx);\n"
146 "\\& void X509_STORE_CTX_set_current_reasons(X509_STORE_CTX *ctx,\n"
147 "\\& unsigned int current_reasons);\n"
148 msgstr ""
149
150 #. type: IX
151 #: archlinux debian-trixie debian-unstable
152 #, no-wrap
153 msgid "DESCRIPTION"
154 msgstr "DESCRIPTION"
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable
158 #, fuzzy
159 #| msgid ""
160 #| "X509_STORE_CTX_set_verify_cb() sets the verification callback of B<ctx> "
161 #| "to B<verify_cb> overwriting any existing callback."
162 msgid ""
163 "\\&B<X509_STORE_CTX_set_verify_cb()> sets the verification callback of "
164 "B<ctx> to \\&B<verify_cb> overwriting any existing callback."
165 msgstr ""
166 "B<X509_STORE_CTX_set_verify_cb>() définit le rappel de vérification de "
167 "I<ctx> à I<verify_cb> en écrasant tout rappel existant."
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable
171 #, fuzzy
172 #| msgid ""
173 #| "The verification callback can be used to customise the operation of "
174 #| "certificate verification, either by overriding error conditions or "
175 #| "logging errors for debugging purposes."
176 msgid ""
177 "The verification callback can be used to customise the operation of "
178 "certificate verification, for instance by overriding error conditions or "
179 "logging errors for debugging purposes."
180 msgstr ""
181 "Le rappel de vérification peut être utilisé pour personnaliser l'opération "
182 "de vérification de certificat, soit en écrasant les conditions d'erreur, "
183 "soit en journalisant les erreurs dans un but de débogage."
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable
187 #, fuzzy
188 #| msgid ""
189 #| "However a verification callback is B<not> essential and the default "
190 #| "operation is often sufficient."
191 msgid ""
192 "However, a verification callback is B<not> essential and the default "
193 "operation is often sufficient."
194 msgstr ""
195 "Cependant, un rappel de vérification n'est B<pas> essentiel, et l'opération "
196 "par défaut est souvent suffisante."
197
198 # NOTE: S/and error/an error/
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable
201 #, fuzzy
202 #| msgid ""
203 #| "The B<ok> parameter to the callback indicates the value the callback "
204 #| "should return to retain the default behaviour. If it is zero then and "
205 #| "error condition is indicated. If it is 1 then no error occurred. If the "
206 #| "flag B<X509_V_FLAG_NOTIFY_POLICY> is set then B<ok> is set to 2 to "
207 #| "indicate the policy checking is complete."
208 msgid ""
209 "The B<ok> parameter to the callback indicates the value the callback should "
210 "return to retain the default behaviour. If it is zero then an error "
211 "condition is indicated. If it is 1 then no error occurred. If the flag "
212 "\\&B<X509_V_FLAG_NOTIFY_POLICY> is set then B<ok> is set to 2 to indicate "
213 "the policy checking is complete."
214 msgstr ""
215 "Le paramètre I<ok> du rappel indique la valeur que le rappel devrait "
216 "retourner pour conserver le comportement par défaut. Si c'est zéro, alors un "
217 "état d'erreur est indiqué. Si c'est 1, alors aucune erreur n'est arrivée. Si "
218 "le drapeau B<X509_V_FLAG_NOTIFY_POLICY> est activé, alors I<ok> est mis à 2 "
219 "pour indiquer que la vérification de politique est terminée."
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable
223 #, fuzzy
224 #| msgid ""
225 #| "The B<ctx> parameter to the callback is the B<X509_STORE_CTX> structure "
226 #| "that is performing the verification operation. A callback can examine "
227 #| "this structure and receive additional information about the error, for "
228 #| "example by calling X509_STORE_CTX_get_current_cert(). Additional "
229 #| "application data can be passed to the callback via the B<ex_data> "
230 #| "mechanism."
231 msgid ""
232 "The B<ctx> parameter to the callback is the B<X509_STORE_CTX> structure that "
233 "is performing the verification operation. A callback can examine this "
234 "structure and receive additional information about the error, for example by "
235 "calling B<X509_STORE_CTX_get_current_cert()>. Additional application data "
236 "can be passed to the callback via the B<ex_data> mechanism."
237 msgstr ""
238 "Le paramètre I<ctx> du rappel est la structure B<X509_STORE_CTX> qui réalise "
239 "l'opération de vérification. Un rappel peut examiner cette structure et "
240 "recevoir des informations supplémentaires sur l'erreur, par exemple en "
241 "appelant B<X509_STORE_CTX_get_current_cert>(). Des données d'application "
242 "supplémentaires peuvent être passées au rappel par le mécanisme I<ex_data>."
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable
246 msgid ""
247 "\\&B<X509_STORE_CTX_print_verify_cb()> is a verification callback function "
248 "that, when a certificate verification has failed, adds an entry to the error "
249 "queue with code B<X509_R_CERTIFICATE_VERIFICATION_FAILED> and with "
250 "diagnostic details, including the most relevant fields of the target "
251 "certificate that failed to verify and, if appropriate, of the available "
252 "untrusted and trusted certificates."
253 msgstr ""
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable
257 msgid ""
258 "\\&B<X509_STORE_CTX_get_verify_cb()> returns the value of the current "
259 "callback for the specific B<ctx>."
260 msgstr ""
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable
264 msgid ""
265 "\\&B<X509_STORE_CTX_get_get_issuer()>, "
266 "\\&B<X509_STORE_CTX_get_check_issued()>, "
267 "B<X509_STORE_CTX_get_check_revocation()>, "
268 "\\&B<X509_STORE_CTX_get_get_crl()>, B<X509_STORE_CTX_get_check_crl()>, "
269 "\\&B<X509_STORE_CTX_get_cert_crl()>, B<X509_STORE_CTX_get_check_policy()>, "
270 "\\&B<X509_STORE_CTX_get_lookup_certs()>, B<X509_STORE_CTX_get_lookup_crls()> "
271 "and B<X509_STORE_CTX_get_cleanup()> return the function pointers cached from "
272 "the corresponding B<X509_STORE>, please see \\&B<X509_STORE_set_verify>\\|"
273 "(3) for more information."
274 msgstr ""
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable
278 msgid ""
279 "\\&B<X509_STORE_CTX_set_get_crl()> sets the function to get the crl for a "
280 "given certificate I<x>. When found, the crl must be assigned to I<*crl>. "
281 "This function must return 0 on failure and 1 on success. \\&I<If no "
282 "function to get the issuer is provided, the internal default function will "
283 "be used instead.>"
284 msgstr ""
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable
288 msgid ""
289 "\\&B<X509_STORE_CTX_set_current_reasons()> is used in conjunction with "
290 "X509_STORE_CTX_get_crl_fn. The X509_STORE_CTX_get_crl_fn callback must use "
291 "this method to set the reason why the certificate is invalid."
292 msgstr ""
293
294 #. type: IX
295 #: archlinux debian-trixie debian-unstable
296 #, no-wrap
297 msgid "WARNINGS"
298 msgstr "AVERTISSEMENTS"
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable
302 msgid ""
303 "In general a verification callback should B<NOT> unconditionally return 1 in "
304 "all circumstances because this will allow verification to succeed no matter "
305 "what the error. This effectively removes all security from the application "
306 "because B<any> certificate (including untrusted generated ones) will be "
307 "accepted."
308 msgstr ""
309 "En général, un rappel de vérification ne devrait B<pas> renvoyer 1 sans "
310 "condition en toutes circonstances, parce que cela permettrait à la "
311 "vérification de réussir quelque soit l'erreur. Cela retire effectivement "
312 "toute la sécurité de l'application parce que B<tous> les certificats (y "
313 "compris ceux générés qui ne sont pas de confiance) seront acceptés."
314
315 #. type: IX
316 #: archlinux debian-trixie debian-unstable
317 #, no-wrap
318 msgid "NOTES"
319 msgstr "NOTES"
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable
323 #, fuzzy
324 #| msgid ""
325 #| "The verification callback can be set and inherited from the parent "
326 #| "structure performing the operation. In some cases (such as S/MIME "
327 #| "verification) the B<X509_STORE_CTX> structure is created and destroyed "
328 #| "internally and the only way to set a custom verification callback is by "
329 #| "inheriting it from the associated B<X509_STORE>."
330 msgid ""
331 "The verification callback can be set and inherited from the parent structure "
332 "performing the operation. In some cases (such as S/MIME verification) the "
333 "\\&B<X509_STORE_CTX> structure is created and destroyed internally and the "
334 "only way to set a custom verification callback is by inheriting it from the "
335 "associated B<X509_STORE>."
336 msgstr ""
337 "Le rappel de vérification peut être défini et hérité de la structure mère "
338 "réalisant l'opération. Dans certains cas (comme une vérification S/MIME), la "
339 "structure B<X509_STORE_CTX> est créée et détruite en interne et la seule "
340 "façon de définir un rappel de vérification personnalisé est par héritage de "
341 "la structure B<X509_STORE> associée."
342
343 #. type: IX
344 #: archlinux debian-trixie debian-unstable
345 #, no-wrap
346 msgid "RETURN VALUES"
347 msgstr "VALEURS RENVOYÉES"
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable
351 #, fuzzy
352 #| msgid "X509_STORE_CTX_set_verify_cb() does not return a value."
353 msgid "\\&B<X509_STORE_CTX_set_verify_cb()> does not return a value."
354 msgstr "B<X509_STORE_CTX_set_verify_cb>() ne renvoie aucune valeur."
355
356 #. type: IX
357 #: archlinux debian-trixie debian-unstable
358 #, no-wrap
359 msgid "EXAMPLES"
360 msgstr "EXEMPLES"
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable
364 msgid "Default callback operation:"
365 msgstr "Opération de rappel par défaut :"
366
367 #. type: Plain text
368 #: archlinux debian-trixie debian-unstable
369 #, fuzzy, no-wrap
370 #| msgid ""
371 #| " int verify_callback(int ok, X509_STORE_CTX *ctx)\n"
372 #| "\t{\n"
373 #| "\treturn ok;\n"
374 #| "\t}\n"
375 #| "\n"
376 msgid ""
377 "\\& int verify_callback(int ok, X509_STORE_CTX *ctx) {\n"
378 "\\& return ok;\n"
379 "\\& }\n"
380 msgstr ""
381 " int verify_callback(int ok, X509_STORE_CTX *ctx)\n"
382 "\t{\n"
383 "\treturn ok;\n"
384 "\t}\n"
385 "\n"
386
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable
389 msgid ""
390 "Simple example, suppose a certificate in the chain is expired and we wish to "
391 "continue after this error:"
392 msgstr ""
393 "Exemple simple, supposez qu'un certificat de la chaîne soit expiré, et que "
394 "le but est de continuer après cette erreur :"
395
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable
398 #, fuzzy, no-wrap
399 #| msgid ""
400 #| " int verify_callback(int ok, X509_STORE_CTX *ctx)\n"
401 #| "\t{\n"
402 #| "\t/* Tolerate certificate expiration */\n"
403 #| "\tif (X509_STORE_CTX_get_error(ctx) == X509_V_ERR_CERT_HAS_EXPIRED)\n"
404 #| "\t\t\treturn 1;\n"
405 #| "\t/* Otherwise don't override */\n"
406 #| "\treturn ok;\n"
407 #| "\t}\n"
408 #| "\n"
409 msgid ""
410 "\\& int verify_callback(int ok, X509_STORE_CTX *ctx) {\n"
411 "\\& /* Tolerate certificate expiration */\n"
412 "\\& if (X509_STORE_CTX_get_error(ctx) == X509_V_ERR_CERT_HAS_EXPIRED)\n"
413 "\\& return 1;\n"
414 "\\& /* Otherwise don\\*(Aqt override */\n"
415 "\\& return ok;\n"
416 "\\& }\n"
417 msgstr ""
418 " int verify_callback(int ok, X509_STORE_CTX *ctx)\n"
419 "\t{\n"
420 "\t/* Tolérer l'expiration de certificat */\n"
421 "\tif (X509_STORE_CTX_get_error(ctx) == X509_V_ERR_CERT_HAS_EXPIRED)\n"
422 "\t\t\treturn 1;\n"
423 "\t/* Sinon ne rien écraser */\n"
424 "\treturn ok;\n"
425 "\t}\n"
426 "\n"
427
428 #. type: Plain text
429 #: archlinux
430 #, fuzzy
431 #| msgid ""
432 #| "More complex example, we don't wish to continue after B<any> certificate "
433 #| "has expired just one specific case:"
434 msgid ""
435 "More complex example, we don\\*(Aqt wish to continue after B<any> "
436 "certificate has expired just one specific case:"
437 msgstr ""
438 "Exemple plus compliqué, où le but est de ne pas continuer après B<n'importe "
439 "quel> certificat expiré, mais seulement dans un cas particulier :"
440
441 #. type: Plain text
442 #: archlinux debian-trixie debian-unstable
443 #, fuzzy, no-wrap
444 #| msgid ""
445 #| " int verify_callback(int ok, X509_STORE_CTX *ctx)\n"
446 #| "\t{\n"
447 #| "\tint err = X509_STORE_CTX_get_error(ctx);\n"
448 #| "\tX509 *err_cert = X509_STORE_CTX_get_current_cert(ctx);\n"
449 #| "\tif (err == X509_V_ERR_CERT_HAS_EXPIRED)\n"
450 #| "\t\t{\n"
451 #| "\t\tif (check_is_acceptable_expired_cert(err_cert)\n"
452 #| "\t\t\treturn 1;\n"
453 #| "\t\t}\n"
454 #| "\treturn ok;\n"
455 #| "\t}\n"
456 #| "\n"
457 msgid ""
458 "\\& int verify_callback(int ok, X509_STORE_CTX *ctx)\n"
459 "\\& {\n"
460 "\\& int err = X509_STORE_CTX_get_error(ctx);\n"
461 "\\& X509 *err_cert = X509_STORE_CTX_get_current_cert(ctx);\n"
462 "\\&\n"
463 "\\& if (err == X509_V_ERR_CERT_HAS_EXPIRED) {\n"
464 "\\& if (check_is_acceptable_expired_cert(err_cert)\n"
465 "\\& return 1;\n"
466 "\\& }\n"
467 "\\& return ok;\n"
468 "\\& }\n"
469 msgstr ""
470 " int verify_callback(int ok, X509_STORE_CTX *ctx)\n"
471 "\t{\n"
472 "\tint err = X509_STORE_CTX_get_error(ctx);\n"
473 "\tX509 *err_cert = X509_STORE_CTX_get_current_cert(ctx);\n"
474 "\tif (err == X509_V_ERR_CERT_HAS_EXPIRED)\n"
475 "\t\t{\n"
476 "\t\tif (check_is_acceptable_expired_cert(err_cert)\n"
477 "\t\t\treturn 1;\n"
478 "\t\t}\n"
479 "\treturn ok;\n"
480 "\t}\n"
481 "\n"
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable
485 #, fuzzy
486 #| msgid ""
487 #| "Full featured logging callback. In this case the B<bio_err> is assumed to "
488 #| "be\n"
489 #| "a global logging B<BIO>, an alternative would to store a BIO in B<ctx> "
490 #| "using\n"
491 #| "B<ex_data>.\n"
492 #| "\t\n"
493 msgid ""
494 "Full featured logging callback. In this case the B<bio_err> is assumed to be "
495 "a global logging B<BIO>, an alternative would to store a BIO in B<ctx> using "
496 "\\&B<ex_data>."
497 msgstr ""
498 "Rappel avec journalisation complète. Dans ce cas, le I<bio_err> est supposé "
499 "être \n"
500 "un B<BIO> de journalisation globale, une alternative serait de conserver un "
501 "BIO \n"
502 "dans I<ctx> en utilisant I<ex_data>.\n"
503 "\t\n"
504
505 #. type: Plain text
506 #: archlinux debian-trixie debian-unstable
507 #, fuzzy, no-wrap
508 #| msgid ""
509 #| "\tBIO_printf(bio_err,\"depth=%d \",depth);\n"
510 #| "\tif (err_cert)\n"
511 #| "\t\t{\n"
512 #| "\t\tX509_NAME_print_ex(bio_err, X509_get_subject_name(err_cert),\n"
513 #| "\t\t\t\t\t0, XN_FLAG_ONELINE);\n"
514 #| "\t\tBIO_puts(bio_err, \"\\n\");\n"
515 #| "\t\t}\n"
516 #| "\telse\n"
517 #| "\t\tBIO_puts(bio_err, \"<no cert>\\n\");\n"
518 #| "\tif (!ok)\n"
519 #| "\t\tBIO_printf(bio_err,\"verify error:num=%d:%s\\n\",err,\n"
520 #| "\t\t\tX509_verify_cert_error_string(err));\n"
521 #| "\tswitch (err)\n"
522 #| "\t\t{\n"
523 #| "\tcase X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT:\n"
524 #| "\t\tBIO_puts(bio_err,\"issuer= \");\n"
525 #| "\t\tX509_NAME_print_ex(bio_err, X509_get_issuer_name(err_cert),\n"
526 #| "\t\t\t\t\t0, XN_FLAG_ONELINE);\n"
527 #| "\t\tBIO_puts(bio_err, \"\\n\");\n"
528 #| "\t\tbreak;\n"
529 #| "\tcase X509_V_ERR_CERT_NOT_YET_VALID:\n"
530 #| "\tcase X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD:\n"
531 #| "\t\tBIO_printf(bio_err,\"notBefore=\");\n"
532 #| "\t\tASN1_TIME_print(bio_err,X509_get_notBefore(err_cert));\n"
533 #| "\t\tBIO_printf(bio_err,\"\\n\");\n"
534 #| "\t\tbreak;\n"
535 #| "\tcase X509_V_ERR_CERT_HAS_EXPIRED:\n"
536 #| "\tcase X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD:\n"
537 #| "\t\tBIO_printf(bio_err,\"notAfter=\");\n"
538 #| "\t\tASN1_TIME_print(bio_err,X509_get_notAfter(err_cert));\n"
539 #| "\t\tBIO_printf(bio_err,\"\\n\");\n"
540 #| "\t\tbreak;\n"
541 #| "\tcase X509_V_ERR_NO_EXPLICIT_POLICY:\n"
542 #| "\t\tpolicies_print(bio_err, ctx);\n"
543 #| "\t\tbreak;\n"
544 #| "\t\t}\n"
545 #| "\tif (err == X509_V_OK && ok == 2)\n"
546 #| "\t\t/* print out policies */\n"
547 #| "\n"
548 msgid ""
549 "\\& int verify_callback(int ok, X509_STORE_CTX *ctx)\n"
550 "\\& {\n"
551 "\\& X509 *err_cert;\n"
552 "\\& int err, depth;\n"
553 "\\&\n"
554 "\\& err_cert = X509_STORE_CTX_get_current_cert(ctx);\n"
555 "\\& err = X509_STORE_CTX_get_error(ctx);\n"
556 "\\& depth = X509_STORE_CTX_get_error_depth(ctx);\n"
557 "\\&\n"
558 "\\& BIO_printf(bio_err, \"depth=%d \", depth);\n"
559 "\\& if (err_cert) {\n"
560 "\\& X509_NAME_print_ex(bio_err, X509_get_subject_name(err_cert),\n"
561 "\\& 0, XN_FLAG_ONELINE);\n"
562 "\\& BIO_puts(bio_err, \"\\en\");\n"
563 "\\& }\n"
564 "\\& else\n"
565 "\\& BIO_puts(bio_err, \"E<lt>no certE<gt>\\en\");\n"
566 "\\& if (!ok)\n"
567 "\\& BIO_printf(bio_err, \"verify error:num=%d:%s\\en\", err,\n"
568 "\\& X509_verify_cert_error_string(err));\n"
569 "\\& switch (err) {\n"
570 "\\& case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT:\n"
571 "\\& BIO_puts(bio_err, \"issuer= \");\n"
572 "\\& X509_NAME_print_ex(bio_err, X509_get_issuer_name(err_cert),\n"
573 "\\& 0, XN_FLAG_ONELINE);\n"
574 "\\& BIO_puts(bio_err, \"\\en\");\n"
575 "\\& break;\n"
576 "\\& case X509_V_ERR_CERT_NOT_YET_VALID:\n"
577 "\\& case X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD:\n"
578 "\\& BIO_printf(bio_err, \"notBefore=\");\n"
579 "\\& ASN1_TIME_print(bio_err, X509_get_notBefore(err_cert));\n"
580 "\\& BIO_printf(bio_err, \"\\en\");\n"
581 "\\& break;\n"
582 "\\& case X509_V_ERR_CERT_HAS_EXPIRED:\n"
583 "\\& case X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD:\n"
584 "\\& BIO_printf(bio_err, \"notAfter=\");\n"
585 "\\& ASN1_TIME_print(bio_err, X509_get_notAfter(err_cert));\n"
586 "\\& BIO_printf(bio_err, \"\\en\");\n"
587 "\\& break;\n"
588 "\\& case X509_V_ERR_NO_EXPLICIT_POLICY:\n"
589 "\\& policies_print(bio_err, ctx);\n"
590 "\\& break;\n"
591 "\\& }\n"
592 "\\& if (err == X509_V_OK && ok == 2)\n"
593 "\\& /* print out policies */\n"
594 "\\&\n"
595 "\\& BIO_printf(bio_err, \"verify return:%d\\en\", ok);\n"
596 "\\& return(ok);\n"
597 "\\& }\n"
598 msgstr ""
599 "\tBIO_printf(bio_err,\"depth=%d \",depth);\n"
600 "\tif (err_cert)\n"
601 "\t\t{\n"
602 "\t\tX509_NAME_print_ex(bio_err, X509_get_subject_name(err_cert),\n"
603 "\t\t\t\t\t0, XN_FLAG_ONELINE);\n"
604 "\t\tBIO_puts(bio_err, \"\\n\");\n"
605 "\t\t}\n"
606 "\telse\n"
607 "\t\tBIO_puts(bio_err, \"<no cert>\\n\");\n"
608 "\tif ( !ok)\n"
609 "\t\tBIO_printf(bio_err,\"verify error:num=%d:%s\\n\",err,\n"
610 "\t\t\tX509_verify_cert_error_string(err));\n"
611 "\tswitch (err)\n"
612 "\t\t{\n"
613 "\tcase X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT:\n"
614 "\t\tBIO_puts(bio_err,\"issuer= \");\n"
615 "\t\tX509_NAME_print_ex(bio_err, X509_get_issuer_name(err_cert),\n"
616 "\t\t\t\t\t0, XN_FLAG_ONELINE);\n"
617 "\t\tBIO_puts(bio_err, \"\\n\");\n"
618 "\t\tbreak;\n"
619 "\tcase X509_V_ERR_CERT_NOT_YET_VALID:\n"
620 "\tcase X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD:\n"
621 "\t\tBIO_printf(bio_err,\"notBefore=\");\n"
622 "\t\tASN1_TIME_print(bio_err,X509_get_notBefore(err_cert));\n"
623 "\t\tBIO_printf(bio_err,\"\\n\");\n"
624 "\t\tbreak;\n"
625 "\tcase X509_V_ERR_CERT_HAS_EXPIRED:\n"
626 "\tcase X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD:\n"
627 "\t\tBIO_printf(bio_err,\"notAfter=\");\n"
628 "\t\tASN1_TIME_print(bio_err,X509_get_notAfter(err_cert));\n"
629 "\t\tBIO_printf(bio_err,\"\\n\");\n"
630 "\t\tbreak;\n"
631 "\tcase X509_V_ERR_NO_EXPLICIT_POLICY:\n"
632 "\t\tpolicies_print(bio_err, ctx);\n"
633 "\t\tbreak;\n"
634 "\t\t}\n"
635 "\tif (err == X509_V_OK && ok == 2)\n"
636 "\t\t/* afficher les politiques */\n"
637 "\n"
638
639 #. type: IX
640 #: archlinux debian-trixie debian-unstable
641 #, no-wrap
642 msgid "SEE ALSO"
643 msgstr "VOIR AUSSI"
644
645 #. type: Plain text
646 #: archlinux debian-trixie debian-unstable
647 #, fuzzy
648 #| msgid ""
649 #| "L<X509_STORE_CTX_get_error(3)|X509_STORE_CTX_get_error(3)> "
650 #| "L<X509_STORE_set_verify_cb_func(3)|X509_STORE_set_verify_cb_func(3)> "
651 #| "L<X509_STORE_CTX_get_ex_new_index(3)|X509_STORE_CTX_get_ex_new_index(3)>"
652 msgid ""
653 "\\&B<X509_STORE_CTX_get_error>\\|(3) \\&B<X509_STORE_set_verify_cb_func>\\|"
654 "(3) \\&B<X509_STORE_CTX_get_ex_new_index>\\|(3)"
655 msgstr ""
656 "L<B<X509_STORE_CTX_get_error>(3)|X509_STORE_CTX_get_error(3)>, "
657 "L<B<X509_STORE_CTX_get_ex_new_index>(3)|"
658 "X509_STORE_CTX_get_ex_new_index>(3)>, L<B<X509_STORE_set_verify_cb_func>(3)|"
659 "X509_STORE_set_verify_cb_func(3)>"
660
661 #. type: IX
662 #: archlinux debian-trixie debian-unstable
663 #, no-wrap
664 msgid "HISTORY"
665 msgstr "HISTORIQUE"
666
667 #. type: Plain text
668 #: archlinux debian-trixie debian-unstable
669 #, fuzzy
670 #| msgid ""
671 #| "X509_STORE_CTX_new, X509_STORE_CTX_cleanup, X509_STORE_CTX_free, "
672 #| "X509_STORE_CTX_init, X509_STORE_CTX_trusted_stack, "
673 #| "X509_STORE_CTX_set_cert, X509_STORE_CTX_set_chain, "
674 #| "X509_STORE_CTX_set0_crls, X509_STORE_CTX_get0_param, "
675 #| "X509_STORE_CTX_set0_param, X509_STORE_CTX_set_default - X509_STORE_CTX "
676 #| "initialisation"
677 msgid ""
678 "The \\&B<X509_STORE_CTX_get_get_issuer()>, "
679 "\\&B<X509_STORE_CTX_get_check_issued()>, "
680 "B<X509_STORE_CTX_get_check_revocation()>, "
681 "\\&B<X509_STORE_CTX_get_get_crl()>, B<X509_STORE_CTX_get_check_crl()>, "
682 "\\&B<X509_STORE_CTX_get_cert_crl()>, B<X509_STORE_CTX_get_check_policy()>, "
683 "\\&B<X509_STORE_CTX_get_lookup_certs()>, B<X509_STORE_CTX_get_lookup_crls()> "
684 "and B<X509_STORE_CTX_get_cleanup()> functions were added in OpenSSL 1.1.0."
685 msgstr ""
686 "X509_STORE_CTX_new, X509_STORE_CTX_cleanup, X509_STORE_CTX_free, "
687 "X509_STORE_CTX_init, X509_STORE_CTX_trusted_stack, X509_STORE_CTX_set_cert, "
688 "X509_STORE_CTX_set_chain, X509_STORE_CTX_set0_crls, "
689 "X509_STORE_CTX_get0_param, X509_STORE_CTX_set0_param, "
690 "X509_STORE_CTX_set_default - Initialisation de X509_STORE_CTX"
691
692 #. type: Plain text
693 #: archlinux debian-trixie debian-unstable
694 #, fuzzy
695 #| msgid "X509_STORE_set_verify_cb() was added to OpenSSL 1.0.0."
696 msgid "\\&B<X509_STORE_CTX_print_verify_cb()> was added in OpenSSL 3.0."
697 msgstr "B<X509_STORE_set_verify_cb>() a été ajoutée dans OpenSSL 1.0.0."
698
699 #. type: IX
700 #: archlinux debian-trixie debian-unstable
701 #, no-wrap
702 msgid "COPYRIGHT"
703 msgstr "COPYRIGHT"
704
705 #. type: Plain text
706 #: archlinux debian-trixie debian-unstable
707 msgid "Copyright 2009-2023 The OpenSSL Project Authors. All Rights Reserved."
708 msgstr ""
709 "Copyright 2009-2023 Les auteurs du projet OpenSSL. Tous droits réservés."
710
711 #. type: Plain text
712 #: archlinux debian-trixie debian-unstable
713 msgid ""
714 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
715 "this file except in compliance with the License. You can obtain a copy in "
716 "the file LICENSE in the source distribution or at E<lt>https://"
717 "www.openssl.org/source/license.htmlE<gt>."
718 msgstr ""
719 "Sous licence Apache 2.0 (la « Licence »). Vous ne pouvez utiliser ce fichier "
720 "que conformément à la Licence. Vous trouverez une copie dans le fichier "
721 "\\s-1LICENSE\\s0 de la distribution du source ou à l'adresse E<lt>https://"
722 "www.openssl.org/source/license.htmlE<gt>."
723
724 #. ========================================================================
725 #. type: IX
726 #: debian-trixie debian-unstable
727 #, no-wrap
728 msgid "X509_STORE_CTX_SET_VERIFY_CB 3SSL"
729 msgstr ""
730
731 #. type: TH
732 #: debian-trixie
733 #, no-wrap
734 msgid "3.5.6"
735 msgstr "3.5.6"
736
737 #. type: Plain text
738 #: debian-trixie debian-unstable
739 msgid ""
740 "More complex example, we don't wish to continue after B<any> certificate has "
741 "expired just one specific case:"
742 msgstr ""
743 "Exemple plus compliqué, où le but est de ne pas continuer après B<n'importe "
744 "quel> certificat expiré, mais seulement dans un cas particulier :"