Debian Codegraph @

po/fr/man3/ASN1_TIME_set.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, 2009.
5 # David Prévot <[email protected]>, 2012, 2014, 2015.
6 # Oliver Hamm <[email protected]>, 2014.
7 # Jean-Pierre Giraud <[email protected]>, 2014, 2015.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:18+0200\n"
12 "PO-Revision-Date: 2015-07-13 23:01+0200\n"
13 "Last-Translator: Jean-Pierre Giraud <[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
21 #. #-#-#-#-# archlinux: ASN1_TIME_set.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: ASN1_TIME_set.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: ASN1_TIME_set.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
29 #. ========================================================================
30 #. type: IX
31 #: archlinux debian-trixie debian-unstable
32 #, no-wrap
33 msgid "Title"
34 msgstr "Title"
35
36 #. Required to disable full justification in groff 1.23.0.
37 #. ========================================================================
38 #. type: IX
39 #: archlinux
40 #, no-wrap
41 msgid "ASN1_TIME_SET 3ssl"
42 msgstr "ASN1_TIME_SET 3ssl"
43
44 #. type: TH
45 #: archlinux debian-trixie debian-unstable
46 #, no-wrap
47 msgid "ASN1_TIME_SET"
48 msgstr "ASN1_TIME_SET"
49
50 #. type: TH
51 #: archlinux debian-trixie debian-unstable
52 #, no-wrap
53 msgid "2026-04-07"
54 msgstr "7 avril 2026"
55
56 #. type: TH
57 #: archlinux debian-unstable
58 #, no-wrap
59 msgid "3.6.2"
60 msgstr "3.6.2"
61
62 #. type: TH
63 #: archlinux debian-trixie debian-unstable
64 #, no-wrap
65 msgid "OpenSSL"
66 msgstr "OpenSSL"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable
70 #, no-wrap
71 msgid "NAME"
72 msgstr "NOM"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable
76 msgid ""
77 "ASN1_TIME_set, ASN1_UTCTIME_set, ASN1_GENERALIZEDTIME_set, ASN1_TIME_adj, "
78 "ASN1_UTCTIME_adj, ASN1_GENERALIZEDTIME_adj, ASN1_TIME_check, "
79 "ASN1_UTCTIME_check, ASN1_GENERALIZEDTIME_check, ASN1_TIME_set_string, "
80 "ASN1_UTCTIME_set_string, ASN1_GENERALIZEDTIME_set_string, "
81 "ASN1_TIME_set_string_X509, ASN1_TIME_normalize, ASN1_TIME_to_tm, "
82 "ASN1_TIME_print, ASN1_TIME_print_ex, ASN1_UTCTIME_print, "
83 "ASN1_GENERALIZEDTIME_print, ASN1_TIME_diff, ASN1_TIME_cmp_time_t, "
84 "ASN1_UTCTIME_cmp_time_t, ASN1_TIME_compare, ASN1_TIME_to_generalizedtime, "
85 "ASN1_TIME_dup, ASN1_UTCTIME_dup, ASN1_GENERALIZEDTIME_dup - ASN.1 Time "
86 "functions"
87 msgstr ""
88
89 #. type: IX
90 #: archlinux debian-trixie debian-unstable
91 #, no-wrap
92 msgid "SYNOPSIS"
93 msgstr "SYNOPSIS"
94
95 #. type: IX
96 #: archlinux debian-trixie debian-unstable
97 #, no-wrap
98 msgid "Header"
99 msgstr "Header"
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable
103 #, no-wrap
104 msgid ""
105 "\\& ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);\n"
106 "\\& ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t);\n"
107 "\\& ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,\n"
108 "\\& time_t t);\n"
109 "\\&\n"
110 "\\& ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, int offset_day,\n"
111 "\\& long offset_sec);\n"
112 "\\& ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t,\n"
113 "\\& int offset_day, long offset_sec);\n"
114 "\\& ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s,\n"
115 "\\& time_t t, int offset_day,\n"
116 "\\& long offset_sec);\n"
117 "\\&\n"
118 "\\& int ASN1_TIME_set_string(ASN1_TIME *s, const char *str);\n"
119 "\\& int ASN1_TIME_set_string_X509(ASN1_TIME *s, const char *str);\n"
120 "\\& int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str);\n"
121 "\\& int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s,\n"
122 "\\& const char *str);\n"
123 "\\&\n"
124 "\\& int ASN1_TIME_normalize(ASN1_TIME *s);\n"
125 "\\&\n"
126 "\\& int ASN1_TIME_check(const ASN1_TIME *t);\n"
127 "\\& int ASN1_UTCTIME_check(const ASN1_UTCTIME *t);\n"
128 "\\& int ASN1_GENERALIZEDTIME_check(const ASN1_GENERALIZEDTIME *t);\n"
129 "\\&\n"
130 "\\& int ASN1_TIME_print(BIO *b, const ASN1_TIME *s);\n"
131 "\\& int ASN1_TIME_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags);\n"
132 "\\& int ASN1_UTCTIME_print(BIO *b, const ASN1_UTCTIME *s);\n"
133 "\\& int ASN1_GENERALIZEDTIME_print(BIO *b, const ASN1_GENERALIZEDTIME *s);\n"
134 "\\&\n"
135 "\\& int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm);\n"
136 "\\& int ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from,\n"
137 "\\& const ASN1_TIME *to);\n"
138 "\\&\n"
139 "\\& int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t);\n"
140 "\\& int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t);\n"
141 "\\&\n"
142 "\\& int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b);\n"
143 "\\&\n"
144 "\\& ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *t,\n"
145 "\\& ASN1_GENERALIZEDTIME **out);\n"
146 "\\&\n"
147 "\\& ASN1_TIME *ASN1_TIME_dup(const ASN1_TIME *t);\n"
148 "\\& ASN1_UTCTIME *ASN1_UTCTIME_dup(const ASN1_UTCTIME *t);\n"
149 "\\& ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_dup(const ASN1_GENERALIZEDTIME *t);\n"
150 msgstr ""
151
152 #. type: IX
153 #: archlinux debian-trixie debian-unstable
154 #, no-wrap
155 msgid "DESCRIPTION"
156 msgstr "DESCRIPTION"
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable
160 msgid ""
161 "The B<ASN1_TIME_set()>, B<ASN1_UTCTIME_set()> and "
162 "B<ASN1_GENERALIZEDTIME_set()> functions set the structure I<s> to the time "
163 "represented by the time_t value I<t>. If I<s> is NULL a new time structure "
164 "is allocated and returned."
165 msgstr ""
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable
169 msgid ""
170 "The B<ASN1_TIME_adj()>, B<ASN1_UTCTIME_adj()> and "
171 "B<ASN1_GENERALIZEDTIME_adj()> functions set the time structure I<s> to the "
172 "time represented by the time I<offset_day> and I<offset_sec> after the "
173 "time_t value I<t>. The values of I<offset_day> or I<offset_sec> can be "
174 "negative to set a time before I<t>. The I<offset_sec> value can also exceed "
175 "the number of seconds in a day. If I<s> is NULL a new structure is allocated "
176 "and returned."
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable
181 msgid ""
182 "The B<ASN1_TIME_set_string()>, B<ASN1_UTCTIME_set_string()> and "
183 "\\&B<ASN1_GENERALIZEDTIME_set_string()> functions set the time structure "
184 "I<s> to the time represented by string I<str> which must be in appropriate "
185 "ASN.1 time format (for example YYMMDDHHMMSSZ or YYYYMMDDHHMMSSZ). If I<s> is "
186 "NULL this function performs a format check on I<str> only. The string I<str> "
187 "is copied into I<s>."
188 msgstr ""
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable
192 msgid ""
193 "\\&B<ASN1_TIME_set_string_X509()> sets B<ASN1_TIME> structure I<s> to the "
194 "time represented by string I<str> which must be in appropriate time format "
195 "that RFC 5280 requires, which means it only allows YYMMDDHHMMSSZ and "
196 "YYYYMMDDHHMMSSZ (leap second is rejected), all other ASN.1 time format are "
197 "not allowed. If I<s> is NULL this function performs a format check on I<str> "
198 "only."
199 msgstr ""
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable
203 msgid ""
204 "The B<ASN1_TIME_normalize()> function converts an B<ASN1_GENERALIZEDTIME> or "
205 "\\&B<ASN1_UTCTIME> into a time value that can be used in a certificate. It "
206 "should be used after the B<ASN1_TIME_set_string()> functions and before "
207 "\\&B<ASN1_TIME_print()> functions to get consistent (i.e. GMT) results."
208 msgstr ""
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable
212 msgid ""
213 "The B<ASN1_TIME_check()>, B<ASN1_UTCTIME_check()> and "
214 "B<ASN1_GENERALIZEDTIME_check()> functions check the syntax of the time "
215 "structure I<s>."
216 msgstr ""
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable
220 msgid ""
221 "The B<ASN1_TIME_print()>, B<ASN1_UTCTIME_print()> and "
222 "B<ASN1_GENERALIZEDTIME_print()> functions print the time structure I<s> to "
223 "BIO I<b> in human readable format. It will be of the format MMM DD "
224 "HH:MM:SS[.s*] YYYY GMT, for example \"Feb 3 00:55:52 2015 GMT\", which does "
225 "not include a newline. If the time structure has invalid format it prints "
226 "out \"Bad time value\" and returns an error. The output for generalized time "
227 "may include a fractional part following the second."
228 msgstr ""
229
230 #. type: Plain text
231 #: archlinux debian-trixie debian-unstable
232 msgid ""
233 "\\&B<ASN1_TIME_print_ex()> provides I<flags> to specify the output format of "
234 "the datetime. This can be either B<ASN1_DTFLGS_RFC822> or "
235 "B<ASN1_DTFLGS_ISO8601>."
236 msgstr ""
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable
240 msgid ""
241 "\\&B<ASN1_TIME_to_tm()> converts the time I<s> to the standard I<tm> "
242 "structure. If I<s> is NULL, then the current time is converted. The output "
243 "time is GMT. The I<tm_sec>, I<tm_min>, I<tm_hour>, I<tm_mday>, I<tm_wday>, "
244 "I<tm_yday>, \\&I<tm_mon> and I<tm_year> fields of I<tm> structure are set to "
245 "proper values, whereas all other fields are set to 0. If I<tm> is NULL this "
246 "function performs a format check on I<s> only. If I<s> is in Generalized "
247 "format with fractional seconds, e.g. YYYYMMDDHHMMSS.SSSZ, the fractional "
248 "seconds will be lost while converting I<s> to I<tm> structure."
249 msgstr ""
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable
253 msgid ""
254 "\\&B<ASN1_TIME_diff()> sets I<*pday> and I<*psec> to the time difference "
255 "between \\&I<from> and I<to>. If I<to> represents a time later than I<from> "
256 "then one or both (depending on the time difference) of I<*pday> and I<*psec> "
257 "will be positive. If I<to> represents a time earlier than I<from> then one "
258 "or both of I<*pday> and I<*psec> will be negative. If I<to> and I<from> "
259 "represent the same time then I<*pday> and I<*psec> will both be zero. If "
260 "both I<*pday> and I<*psec> are nonzero they will always have the same sign. "
261 "The value of I<*psec> will always be less than the number of seconds in a "
262 "day. If I<from> or I<to> is NULL the current time is used."
263 msgstr ""
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable
267 msgid ""
268 "The B<ASN1_TIME_cmp_time_t()> and B<ASN1_UTCTIME_cmp_time_t()> functions "
269 "compare the two times represented by the time structure I<s> and the time_t "
270 "I<t>."
271 msgstr ""
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable
275 msgid ""
276 "The B<ASN1_TIME_compare()> function compares the two times represented by "
277 "the time structures I<a> and I<b>."
278 msgstr ""
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable
282 msgid ""
283 "The B<ASN1_TIME_to_generalizedtime()> function converts an B<ASN1_TIME> to "
284 "an \\&B<ASN1_GENERALIZEDTIME>, regardless of year. If either I<out> or "
285 "\\&I<*out> are NULL, then a new object is allocated and must be freed after "
286 "use."
287 msgstr ""
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable
291 msgid ""
292 "The B<ASN1_TIME_dup()>, B<ASN1_UTCTIME_dup()> and "
293 "B<ASN1_GENERALIZEDTIME_dup()> functions duplicate the time structure I<t> "
294 "and return the duplicated result correspondingly."
295 msgstr ""
296
297 #. type: IX
298 #: archlinux debian-trixie debian-unstable
299 #, no-wrap
300 msgid "NOTES"
301 msgstr "NOTES"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable
305 msgid ""
306 "The B<ASN1_TIME> structure corresponds to the ASN.1 structure B<Time> "
307 "defined in RFC5280 et al. The time setting functions obey the rules outlined "
308 "in RFC5280: if the date can be represented by UTCTime it is used, else "
309 "GeneralizedTime is used."
310 msgstr ""
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable
314 msgid ""
315 "The B<ASN1_TIME>, B<ASN1_UTCTIME> and B<ASN1_GENERALIZEDTIME> structures are "
316 "represented as an B<ASN1_STRING> internally and can be freed up using "
317 "\\&B<ASN1_STRING_free()>."
318 msgstr ""
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable
322 msgid ""
323 "The B<ASN1_TIME> structure can represent years from 0000 to 9999 but no "
324 "attempt is made to correct ancient calendar changes (for example from Julian "
325 "to Gregorian calendars)."
326 msgstr ""
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable
330 msgid "\\&B<ASN1_UTCTIME> is limited to a year range of 1950 through 2049."
331 msgstr ""
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable
335 msgid ""
336 "Some applications add offset times directly to a time_t value and pass the "
337 "results to B<ASN1_TIME_set()> (or equivalent). This can cause problems as "
338 "the time_t value can overflow on some systems resulting in unexpected "
339 "results. New applications should use B<ASN1_TIME_adj()> instead and pass "
340 "the offset value in the I<offset_sec> and I<offset_day> parameters instead "
341 "of directly manipulating a time_t value."
342 msgstr ""
343
344 #. type: Plain text
345 #: archlinux debian-trixie debian-unstable
346 msgid ""
347 "\\&B<ASN1_TIME_adj()> may change the type from B<ASN1_GENERALIZEDTIME> to "
348 "\\&B<ASN1_UTCTIME>, or vice versa, based on the resulting year. "
349 "\\&B<ASN1_GENERALIZEDTIME_adj()> and B<ASN1_UTCTIME_adj()> will not modify "
350 "the type of the return structure."
351 msgstr ""
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable
355 msgid ""
356 "It is recommended that functions starting with B<ASN1_TIME> be used instead "
357 "of those starting with B<ASN1_UTCTIME> or B<ASN1_GENERALIZEDTIME>. The "
358 "functions starting with B<ASN1_UTCTIME> and B<ASN1_GENERALIZEDTIME> act only "
359 "on that specific time format. The functions starting with B<ASN1_TIME> will "
360 "operate on either format."
361 msgstr ""
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable
365 msgid ""
366 "Users familiar with RFC822 should note that when specifying the flag "
367 "\\&B<ASN1_DTFLGS_RFC822> the year will be formatted as documented above, "
368 "i.e., using 4 digits, not 2 as specified in RFC822."
369 msgstr ""
370
371 #. type: IX
372 #: archlinux debian-trixie debian-unstable
373 #, no-wrap
374 msgid "BUGS"
375 msgstr "BOGUES"
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable
379 msgid ""
380 "\\&B<ASN1_TIME_print()>, B<ASN1_UTCTIME_print()> and "
381 "B<ASN1_GENERALIZEDTIME_print()> do not print out the timezone: it either "
382 "prints out \"GMT\" or nothing. But all certificates complying with RFC5280 "
383 "et al use GMT anyway."
384 msgstr ""
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable
388 msgid ""
389 "\\&B<ASN1_TIME_print()>, B<ASN1_TIME_print_ex()>, B<ASN1_UTCTIME_print()> "
390 "and \\&B<ASN1_GENERALIZEDTIME_print()> do not distinguish if they fail "
391 "because of an I/O error or invalid time format."
392 msgstr ""
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable
396 msgid ""
397 "Use the B<ASN1_TIME_normalize()> function to normalize the time value before "
398 "printing to get GMT results."
399 msgstr ""
400
401 #. type: IX
402 #: archlinux debian-trixie debian-unstable
403 #, no-wrap
404 msgid "RETURN VALUES"
405 msgstr "VALEURS RENVOYÉES"
406
407 #. type: Plain text
408 #: archlinux debian-trixie debian-unstable
409 msgid ""
410 "\\&B<ASN1_TIME_set()>, B<ASN1_UTCTIME_set()>, B<ASN1_GENERALIZEDTIME_set()>, "
411 "\\&B<ASN1_TIME_adj()>, B<ASN1_UTCTIME_adj()> and "
412 "B<ASN1_GENERALIZEDTIME_set()> return a pointer to a time structure or NULL "
413 "if an error occurred."
414 msgstr ""
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable
418 msgid ""
419 "\\&B<ASN1_TIME_set_string()>, B<ASN1_UTCTIME_set_string()>, "
420 "\\&B<ASN1_GENERALIZEDTIME_set_string()> and B<ASN1_TIME_set_string_X509()> "
421 "return 1 if the time value is successfully set and 0 otherwise."
422 msgstr ""
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable
426 #, fuzzy
427 #| msgid "B<CRYPTO_set_ex_data()> returns 1 on success or 0 on failure."
428 msgid "\\&B<ASN1_TIME_normalize()> returns 1 on success, and 0 on error."
429 msgstr ""
430 "B<CRYPTO_set_ex_data>() renvoie 1 en cas de succès et 0 en cas d'échec."
431
432 #. type: Plain text
433 #: archlinux debian-trixie debian-unstable
434 msgid ""
435 "\\&B<ASN1_TIME_check()>, ASN1_UTCTIME_check and "
436 "B<ASN1_GENERALIZEDTIME_check()> return 1 if the structure is syntactically "
437 "correct and 0 otherwise."
438 msgstr ""
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable
442 msgid ""
443 "\\&B<ASN1_TIME_print()>, B<ASN1_UTCTIME_print()> and "
444 "B<ASN1_GENERALIZEDTIME_print()> return 1 if the time is successfully printed "
445 "out and 0 if an I/O error occurred an error occurred (I/O error or invalid "
446 "time format)."
447 msgstr ""
448
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable
451 msgid ""
452 "\\&B<ASN1_TIME_to_tm()> returns 1 if the time is successfully parsed and 0 "
453 "if an error occurred (invalid time format)."
454 msgstr ""
455
456 #. type: Plain text
457 #: archlinux debian-trixie debian-unstable
458 msgid ""
459 "\\&B<ASN1_TIME_diff()> returns 1 for success and 0 for failure. It can fail "
460 "if the passed-in time structure has invalid syntax, for example."
461 msgstr ""
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable
465 msgid ""
466 "\\&B<ASN1_TIME_cmp_time_t()> and B<ASN1_UTCTIME_cmp_time_t()> return -1 if "
467 "I<s> is before I<t>, 0 if I<s> equals I<t>, or 1 if I<s> is after I<t>. -2 "
468 "is returned on error."
469 msgstr ""
470
471 #. type: Plain text
472 #: archlinux debian-trixie debian-unstable
473 msgid ""
474 "\\&B<ASN1_TIME_compare()> returns -1 if I<a> is before I<b>, 0 if I<a> "
475 "equals I<b>, or 1 if I<a> is after I<b>. -2 is returned on error."
476 msgstr ""
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable
480 #, fuzzy
481 #| msgid ""
482 #| "The read routines return either a pointer to the structure read or NULL "
483 #| "if an error occurred."
484 msgid ""
485 "\\&B<ASN1_TIME_to_generalizedtime()> returns a pointer to the appropriate "
486 "time structure on success or NULL if an error occurred."
487 msgstr ""
488 "Les routines de lectures renvoient soit un pointeur vers la structure read "
489 "ou NULL si une erreur s'est produite."
490
491 #. type: Plain text
492 #: archlinux debian-trixie debian-unstable
493 msgid ""
494 "\\&B<ASN1_TIME_dup()>, B<ASN1_UTCTIME_dup()> and "
495 "B<ASN1_GENERALIZEDTIME_dup()> return a pointer to a time structure or NULL "
496 "if an error occurred."
497 msgstr ""
498
499 #. type: IX
500 #: archlinux debian-trixie debian-unstable
501 #, no-wrap
502 msgid "EXAMPLES"
503 msgstr "EXEMPLES"
504
505 #. type: Plain text
506 #: archlinux debian-trixie debian-unstable
507 msgid ""
508 "Set a time structure to one hour after the current time and print it out:"
509 msgstr ""
510
511 #. type: Plain text
512 #: archlinux debian-trixie debian-unstable
513 #, no-wrap
514 msgid ""
515 "\\& #include E<lt>time.hE<gt>\n"
516 "\\& #include E<lt>openssl/asn1.hE<gt>\n"
517 "\\&\n"
518 "\\& ASN1_TIME *tm;\n"
519 "\\& time_t t;\n"
520 "\\& BIO *b;\n"
521 "\\&\n"
522 "\\& t = time(NULL);\n"
523 "\\& tm = ASN1_TIME_adj(NULL, t, 0, 60 * 60);\n"
524 "\\& b = BIO_new_fp(stdout, BIO_NOCLOSE);\n"
525 "\\& ASN1_TIME_print(b, tm);\n"
526 "\\& ASN1_STRING_free(tm);\n"
527 "\\& BIO_free(b);\n"
528 msgstr ""
529
530 #. type: Plain text
531 #: archlinux debian-trixie debian-unstable
532 msgid "Determine if one time is later or sooner than the current time:"
533 msgstr ""
534
535 #. type: Plain text
536 #: archlinux debian-trixie debian-unstable
537 #, no-wrap
538 msgid ""
539 "\\& int day, sec;\n"
540 "\\&\n"
541 "\\& if (!ASN1_TIME_diff(&day, &sec, NULL, to))\n"
542 "\\& /* Invalid time format */\n"
543 "\\&\n"
544 "\\& if (day E<gt> 0 || sec E<gt> 0)\n"
545 "\\& printf(\"Later\\en\");\n"
546 "\\& else if (day E<lt> 0 || sec E<lt> 0)\n"
547 "\\& printf(\"Sooner\\en\");\n"
548 "\\& else\n"
549 "\\& printf(\"Same\\en\");\n"
550 msgstr ""
551
552 #. type: IX
553 #: archlinux debian-trixie debian-unstable
554 #, no-wrap
555 msgid "HISTORY"
556 msgstr "HISTORIQUE"
557
558 #. type: Plain text
559 #: archlinux debian-trixie debian-unstable
560 msgid ""
561 "The B<ASN1_TIME_to_tm()> function was added in OpenSSL 1.1.1. The "
562 "B<ASN1_TIME_set_string_X509()> function was added in OpenSSL 1.1.1. The "
563 "B<ASN1_TIME_normalize()> function was added in OpenSSL 1.1.1. The "
564 "B<ASN1_TIME_cmp_time_t()> function was added in OpenSSL 1.1.1. The "
565 "B<ASN1_TIME_compare()> function was added in OpenSSL 1.1.1."
566 msgstr ""
567
568 #. type: IX
569 #: archlinux debian-trixie debian-unstable
570 #, no-wrap
571 msgid "COPYRIGHT"
572 msgstr "COPYRIGHT"
573
574 #. type: Plain text
575 #: archlinux debian-trixie debian-unstable
576 msgid "Copyright 2015-2025 The OpenSSL Project Authors. All Rights Reserved."
577 msgstr ""
578 "Copyright 2015-2025 Les auteurs du projet OpenSSL. Tous droits réservés."
579
580 #. type: Plain text
581 #: archlinux debian-trixie debian-unstable
582 msgid ""
583 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
584 "this file except in compliance with the License. You can obtain a copy in "
585 "the file LICENSE in the source distribution or at E<lt>https://"
586 "www.openssl.org/source/license.htmlE<gt>."
587 msgstr ""
588 "Sous licence Apache 2.0 (la « Licence »). Vous ne pouvez utiliser ce fichier "
589 "que conformément à la Licence. Vous trouverez une copie dans le fichier "
590 "\\s-1LICENSE\\s0 de la distribution du source ou à l'adresse E<lt>https://"
591 "www.openssl.org/source/license.htmlE<gt>."
592
593 #. ========================================================================
594 #. type: IX
595 #: debian-trixie debian-unstable
596 #, no-wrap
597 msgid "ASN1_TIME_SET 3SSL"
598 msgstr "ASN1_TIME_SET 3SSL"
599
600 #. type: TH
601 #: debian-trixie
602 #, no-wrap
603 msgid "3.5.6"
604 msgstr "3.5.6"