Debian Codegraph @

po/fr/man3/BIO_s_mem.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, 2013, 2015.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:19+0200\n"
10 "PO-Revision-Date: 2015-05-05 18:27-0400\n"
11 "Last-Translator: David Prévot <[email protected]>\n"
12 "Language-Team: French <[email protected]>\n"
13 "Language: fr\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
19 #. #-#-#-#-# archlinux: BIO_s_mem.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #. Required to disable full justification in groff 1.23.0.
21 #. ========================================================================
22 #. type: IX
23 #. #-#-#-#-# debian-trixie: BIO_s_mem.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
24 #. ========================================================================
25 #. type: IX
26 #. #-#-#-#-# debian-unstable: BIO_s_mem.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
27 #. ========================================================================
28 #. type: IX
29 #: archlinux debian-trixie debian-unstable
30 #, no-wrap
31 msgid "Title"
32 msgstr ""
33
34 #. Required to disable full justification in groff 1.23.0.
35 #. ========================================================================
36 #. type: IX
37 #: archlinux
38 #, no-wrap
39 msgid "BIO_S_MEM 3ssl"
40 msgstr ""
41
42 #. type: TH
43 #: archlinux debian-trixie debian-unstable
44 #, no-wrap
45 msgid "BIO_S_MEM"
46 msgstr ""
47
48 #. type: TH
49 #: archlinux debian-trixie debian-unstable
50 #, no-wrap
51 msgid "2026-04-07"
52 msgstr "7 avril 2026"
53
54 #. type: TH
55 #: archlinux debian-unstable
56 #, no-wrap
57 msgid "3.6.2"
58 msgstr "3.6.2"
59
60 #. type: TH
61 #: archlinux debian-trixie debian-unstable
62 #, no-wrap
63 msgid "OpenSSL"
64 msgstr "OpenSSL"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable
68 #, no-wrap
69 msgid "NAME"
70 msgstr "NOM"
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable
74 msgid ""
75 "BIO_s_secmem, BIO_s_dgram_mem, BIO_s_mem, BIO_set_mem_eof_return, "
76 "BIO_get_mem_data, BIO_set_mem_buf, BIO_get_mem_ptr, BIO_new_mem_buf - memory "
77 "BIO"
78 msgstr ""
79
80 #. type: IX
81 #: archlinux debian-trixie debian-unstable
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr "SYNOPSIS"
85
86 #. type: IX
87 #: archlinux debian-trixie debian-unstable
88 #, fuzzy, no-wrap
89 #| msgid "B<header>"
90 msgid "Header"
91 msgstr "B<header>"
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable
95 #, no-wrap
96 msgid ""
97 "\\& #include E<lt>openssl/bio.hE<gt>\n"
98 "\\&\n"
99 "\\& const BIO_METHOD *BIO_s_mem(void);\n"
100 "\\& const BIO_METHOD *BIO_s_dgram_mem(void);\n"
101 "\\& const BIO_METHOD *BIO_s_secmem(void);\n"
102 "\\&\n"
103 "\\& BIO_set_mem_eof_return(BIO *b, int v);\n"
104 "\\& long BIO_get_mem_data(BIO *b, char **pp);\n"
105 "\\& BIO_set_mem_buf(BIO *b, BUF_MEM *bm, int c);\n"
106 "\\& BIO_get_mem_ptr(BIO *b, BUF_MEM **pp);\n"
107 "\\&\n"
108 "\\& BIO *BIO_new_mem_buf(const void *buf, int len);\n"
109 msgstr ""
110
111 #. type: IX
112 #: archlinux debian-trixie debian-unstable
113 #, no-wrap
114 msgid "DESCRIPTION"
115 msgstr "DESCRIPTION"
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable
119 #, fuzzy
120 #| msgid "BIO_f_buffer() returns the buffering BIO method."
121 msgid "\\&B<BIO_s_mem()> returns the memory BIO method function."
122 msgstr "B<BIO_f_buffer>() renvoie la méthode BIO de mise en tampon."
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable
126 msgid ""
127 "A memory BIO is a source/sink BIO which uses memory for its I/O. Data "
128 "written to a memory BIO is stored in a BUF_MEM structure which is extended "
129 "as appropriate to accommodate the stored data."
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable
134 msgid ""
135 "\\&B<BIO_s_secmem()> is like B<BIO_s_mem()> except that the secure heap is "
136 "used for buffer storage."
137 msgstr ""
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable
141 msgid ""
142 "\\&B<BIO_s_dgram_mem()> is a memory BIO that respects datagram semantics. A "
143 "single call to B<BIO_write>\\|(3) will write a single datagram to the memory "
144 "BIO. A subsequent call to B<BIO_read>\\|(3) will read the data in that "
145 "datagram. The \\&B<BIO_read>\\|(3) call will never return more data than was "
146 "written in the original \\&B<BIO_write>\\|(3) call even if there were "
147 "subsequent B<BIO_write>\\|(3) calls that wrote more datagrams. Each "
148 "successive call to B<BIO_read>\\|(3) will read the next datagram. If a "
149 "B<BIO_read>\\|(3) call supplies a read buffer that is smaller than the size "
150 "of the datagram, then the read buffer will be completely filled and the "
151 "remaining data from the datagram will be discarded."
152 msgstr ""
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable
156 msgid ""
157 "It is not possible to write a zero length datagram. Calling B<BIO_write>\\|"
158 "(3) in this case will return 0 and no datagrams will be written. Calling "
159 "B<BIO_read>\\|(3) when there are no datagrams in the BIO to read will "
160 "return a negative result and the \"retry\" flags will be set (i.e. calling "
161 "B<BIO_should_retry>\\|(3) will return true). A datagram mem BIO will never "
162 "return true from B<BIO_eof>\\|(3)."
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable
167 msgid ""
168 "Any data written to a memory BIO can be recalled by reading from it. Unless "
169 "the memory BIO is read only any data read from it is deleted from the BIO."
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable
174 msgid ""
175 "Memory BIOs except B<BIO_s_dgram_mem()> support B<BIO_gets()> and "
176 "B<BIO_puts()>."
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable
181 msgid ""
182 "\\&B<BIO_s_dgram_mem()> supports B<BIO_sendmmsg>\\|(3) and B<BIO_recvmmsg>\\|"
183 "(3) calls and calls related to B<BIO_ADDR> and MTU handling similarly to the "
184 "\\&B<BIO_s_dgram_pair>\\|(3)."
185 msgstr ""
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable
189 msgid ""
190 "If the BIO_CLOSE flag is set when a memory BIO is freed then the underlying "
191 "BUF_MEM structure is also freed."
192 msgstr ""
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable
196 msgid ""
197 "Calling B<BIO_reset()> on a read write memory BIO clears any data in it if "
198 "the flag BIO_FLAGS_NONCLEAR_RST is not set, otherwise it just restores the "
199 "read pointer to the state it was just after the last write was performed and "
200 "the data can be read again. On a read only BIO it similarly restores the BIO "
201 "to its original state and the read only data can be read again."
202 msgstr ""
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable
206 msgid "\\&B<BIO_eof()> is true if no data is in the BIO."
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable
211 #, fuzzy
212 #| msgid ""
213 #| "BIO_get_buffer_num_lines() returns the number of lines currently buffered."
214 msgid "\\&B<BIO_ctrl_pending()> returns the number of bytes currently stored."
215 msgstr ""
216 "B<BIO_get_buffer_num_lines>() renvoie le nombre de lignes actuellement dans "
217 "le tampon."
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable
221 msgid ""
222 "\\&B<BIO_set_mem_eof_return()> sets the behaviour of memory BIO B<b> when it "
223 "is empty. If the B<v> is zero then an empty memory BIO will return EOF (that "
224 "is it will return zero and BIO_should_retry(b) will be false. If B<v> is non "
225 "zero then it will return B<v> when it is empty and it will set the read "
226 "retry flag (that is BIO_read_retry(b) is true). To avoid ambiguity with a "
227 "normal positive return value B<v> should be set to a negative value, "
228 "typically -1. Calling this macro will fail for datagram mem BIOs."
229 msgstr ""
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable
233 msgid ""
234 "\\&B<BIO_get_mem_data()> sets *B<pp> to a pointer to the start of the memory "
235 "BIOs data and returns the total amount of data available. It is implemented "
236 "as a macro. Note the pointer returned by this call is informative, no "
237 "transfer of ownership of this memory is implied. See notes on "
238 "B<BIO_set_close()>."
239 msgstr ""
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable
243 msgid ""
244 "\\&B<BIO_set_mem_buf()> sets the internal BUF_MEM structure to B<bm> and "
245 "sets the close flag to B<c>, that is B<c> should be either BIO_CLOSE or "
246 "BIO_NOCLOSE. It is a macro."
247 msgstr ""
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable
251 msgid ""
252 "\\&B<BIO_get_mem_ptr()> places the underlying BUF_MEM structure in *B<pp>. "
253 "It is a macro."
254 msgstr ""
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable
258 msgid ""
259 "\\&B<BIO_new_mem_buf()> creates a memory BIO using B<len> bytes of data at "
260 "B<buf>, if B<len> is -1 then the B<buf> is assumed to be nul terminated and "
261 "its length is determined by B<strlen>. The BIO is set to a read only state "
262 "and as a result cannot be written to. This is useful when some data needs to "
263 "be made available from a static area of memory in the form of a BIO. The "
264 "supplied data is read directly from the supplied buffer: it is B<not> copied "
265 "first, so the supplied area of memory must be unchanged until the BIO is "
266 "freed."
267 msgstr ""
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable
271 msgid ""
272 "All of the five functions described above return an error with "
273 "\\&B<BIO_s_dgram_mem()>."
274 msgstr ""
275
276 #. type: IX
277 #: archlinux debian-trixie debian-unstable
278 #, no-wrap
279 msgid "NOTES"
280 msgstr "NOTES"
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable
284 msgid ""
285 "Writes to memory BIOs will always succeed if memory is available: that is "
286 "their size can grow indefinitely. An exception is B<BIO_s_dgram_mem()> when "
287 "\\&B<BIO_set_write_buf_size>\\|(3) is called on it. In such case the write "
288 "buffer size will be fixed and any writes that would overflow the buffer will "
289 "return an error."
290 msgstr ""
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable
294 msgid ""
295 "Every write after partial read (not all data in the memory buffer was read) "
296 "to a read write memory BIO will have to move the unread data with an "
297 "internal copy operation, if a BIO contains a lot of data and it is read in "
298 "small chunks intertwined with writes the operation can be very slow. Adding "
299 "a buffering BIO to the chain can speed up the process."
300 msgstr ""
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable
304 msgid ""
305 "Calling B<BIO_set_mem_buf()> on a secmem or dgram BIO will give undefined "
306 "results, including perhaps a program crash."
307 msgstr ""
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable
311 msgid ""
312 "Switching a memory BIO from read write to read only is not supported and can "
313 "give undefined results including a program crash. There are two notable "
314 "exceptions to the rule. The first one is to assign a static memory buffer "
315 "immediately after BIO creation and set the BIO as read only."
316 msgstr ""
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable
320 msgid ""
321 "The other supported sequence is to start with a read write BIO then "
322 "temporarily switch it to read only and call B<BIO_reset()> on the read only "
323 "BIO immediately before switching it back to read write. Before the BIO is "
324 "freed it must be switched back to the read write mode."
325 msgstr ""
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable
329 msgid ""
330 "Calling B<BIO_get_mem_ptr()> on read only BIO will return a BUF_MEM that "
331 "contains only the remaining data to be read. If the close status of the BIO "
332 "is set to BIO_NOCLOSE, before freeing the BUF_MEM the data pointer in it "
333 "must be set to NULL as the data pointer does not point to an allocated "
334 "memory."
335 msgstr ""
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable
339 msgid ""
340 "Calling B<BIO_reset()> on a read write memory BIO with "
341 "BIO_FLAGS_NONCLEAR_RST flag set can have unexpected outcome when the reads "
342 "and writes to the BIO are intertwined. As documented above the BIO will be "
343 "reset to the state after the last completed write operation. The effects of "
344 "reads preceding that write operation cannot be undone."
345 msgstr ""
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable
349 msgid ""
350 "Calling B<BIO_get_mem_ptr()> prior to a B<BIO_reset()> call with "
351 "BIO_FLAGS_NONCLEAR_RST set has the same effect as a write operation."
352 msgstr ""
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable
356 msgid ""
357 "Calling B<BIO_set_close()> with BIO_NOCLOSE orphans the BUF_MEM internal to "
358 "the BIO, _not_ its actual data buffer. See the examples section for the "
359 "proper method for claiming ownership of the data pointer for a deferred free "
360 "operation."
361 msgstr ""
362
363 #. type: IX
364 #: archlinux debian-trixie debian-unstable
365 #, no-wrap
366 msgid "RETURN VALUES"
367 msgstr "VALEURS RENVOYÉES"
368
369 #. type: Plain text
370 #: archlinux debian-trixie debian-unstable
371 msgid ""
372 "\\&B<BIO_s_mem()>, B<BIO_s_dgram_mem()> and B<BIO_s_secmem()> return a valid "
373 "memory \\&B<BIO_METHOD> structure."
374 msgstr ""
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable
378 msgid ""
379 "\\&B<BIO_set_mem_eof_return()>, B<BIO_set_mem_buf()> and "
380 "B<BIO_get_mem_ptr()> return 1 on success or a value which is less than or "
381 "equal to 0 if an error occurred."
382 msgstr ""
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable
386 msgid ""
387 "\\&B<BIO_get_mem_data()> returns the total number of bytes available on "
388 "success, 0 if b is NULL, or a negative value in case of other errors."
389 msgstr ""
390
391 #. type: Plain text
392 #: archlinux debian-trixie debian-unstable
393 msgid ""
394 "\\&B<BIO_new_mem_buf()> returns a valid B<BIO> structure on success or NULL "
395 "on error."
396 msgstr ""
397
398 #. type: IX
399 #: archlinux debian-trixie debian-unstable
400 #, no-wrap
401 msgid "EXAMPLES"
402 msgstr "EXEMPLES"
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable
406 msgid "Create a memory BIO and write some data to it:"
407 msgstr ""
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable
411 #, fuzzy, no-wrap
412 #| msgid ""
413 #| " BIO *mem = BIO_new(BIO_s_mem());\n"
414 #| "\n"
415 msgid ""
416 "\\& BIO *mem = BIO_new(BIO_s_mem());\n"
417 "\\&\n"
418 "\\& BIO_puts(mem, \"Hello World\\en\");\n"
419 msgstr ""
420 " BIO *mem = BIO_new(BIO_s_mem());\n"
421 "\n"
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable
425 msgid "Create a read only memory BIO:"
426 msgstr ""
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable
430 #, no-wrap
431 msgid ""
432 "\\& char data[] = \"Hello World\";\n"
433 "\\& BIO *mem = BIO_new_mem_buf(data, -1);\n"
434 msgstr ""
435
436 #. type: Plain text
437 #: archlinux debian-trixie debian-unstable
438 msgid ""
439 "Extract the BUF_MEM structure from a memory BIO and then free up the BIO:"
440 msgstr ""
441
442 #. type: Plain text
443 #: archlinux debian-trixie debian-unstable
444 #, no-wrap
445 msgid ""
446 "\\& BUF_MEM *bptr;\n"
447 "\\&\n"
448 "\\& BIO_get_mem_ptr(mem, &bptr);\n"
449 "\\& BIO_set_close(mem, BIO_NOCLOSE); /* So BIO_free() leaves BUF_MEM alone */\n"
450 "\\& BIO_free(mem);\n"
451 msgstr ""
452
453 #. type: Plain text
454 #: archlinux debian-trixie debian-unstable
455 msgid ""
456 "Extract the BUF_MEM ptr, claim ownership of the internal data and free the "
457 "BIO and BUF_MEM structure:"
458 msgstr ""
459
460 #. type: Plain text
461 #: archlinux debian-trixie debian-unstable
462 #, no-wrap
463 msgid ""
464 "\\& BUF_MEM *bptr;\n"
465 "\\& char *data;\n"
466 "\\&\n"
467 "\\& BIO_get_mem_data(bio, &data);\n"
468 "\\& BIO_get_mem_ptr(bio, &bptr);\n"
469 "\\& BIO_set_close(mem, BIO_NOCLOSE); /* So BIO_free orphans BUF_MEM */\n"
470 "\\& BIO_free(bio);\n"
471 "\\& bptr-E<gt>data = NULL; /* Tell BUF_MEM to orphan data */\n"
472 "\\& BUF_MEM_free(bptr);\n"
473 "\\& ...\n"
474 "\\& free(data);\n"
475 msgstr ""
476
477 #. type: IX
478 #: archlinux debian-trixie debian-unstable
479 #, no-wrap
480 msgid "HISTORY"
481 msgstr "HISTORIQUE"
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable
485 #, fuzzy
486 #| msgid "BIO_new_CMS() was added to OpenSSL 1.0.0"
487 msgid "\\&B<BIO_s_dgram_mem()> was added in OpenSSL 3.2."
488 msgstr "B<BIO_new_CMS>() a été ajoutée dans OpenSSL 1.0.0"
489
490 #. type: IX
491 #: archlinux debian-trixie debian-unstable
492 #, no-wrap
493 msgid "COPYRIGHT"
494 msgstr "COPYRIGHT"
495
496 #. type: Plain text
497 #: archlinux debian-trixie debian-unstable
498 msgid "Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved."
499 msgstr ""
500 "Copyright 2000-2024 Les auteurs du projet OpenSSL. Tous droits réservés."
501
502 #. type: Plain text
503 #: archlinux debian-trixie debian-unstable
504 msgid ""
505 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
506 "this file except in compliance with the License. You can obtain a copy in "
507 "the file LICENSE in the source distribution or at E<lt>https://"
508 "www.openssl.org/source/license.htmlE<gt>."
509 msgstr ""
510 "Sous licence Apache 2.0 (la « Licence »). Vous ne pouvez utiliser ce fichier "
511 "que conformément à la Licence. Vous trouverez une copie dans le fichier "
512 "\\s-1LICENSE\\s0 de la distribution du source ou à l'adresse E<lt>https://"
513 "www.openssl.org/source/license.htmlE<gt>."
514
515 #. ========================================================================
516 #. type: IX
517 #: debian-trixie debian-unstable
518 #, no-wrap
519 msgid "BIO_S_MEM 3SSL"
520 msgstr ""
521
522 #. type: TH
523 #: debian-trixie
524 #, no-wrap
525 msgid "3.5.6"
526 msgstr "3.5.6"