Debian Codegraph @

templates/man3/SSL_CTX_set_msg_callback.3ssl.pot

raw
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_msg_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: SSL_CTX_set_msg_callback.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_msg_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: SSL_CTX_set_msg_callback.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_MSG_CALLBACK 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "SSL_CTX_SET_MSG_CALLBACK"
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_msg_callback, SSL_CTX_set_msg_callback_arg, "
79 "SSL_set_msg_callback, SSL_set_msg_callback_arg, SSL_trace \\&- install "
80 "callback for observing protocol messages"
81 msgstr ""
82
83 #. type: IX
84 #: archlinux debian-trixie debian-unstable
85 #, no-wrap
86 msgid "SYNOPSIS"
87 msgstr ""
88
89 #. type: IX
90 #: archlinux debian-trixie debian-unstable
91 #, no-wrap
92 msgid "Header"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable
97 #, no-wrap
98 msgid ""
99 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
100 "\\&\n"
101 "\\& void SSL_CTX_set_msg_callback(SSL_CTX *ctx,\n"
102 "\\& void (*cb)(int write_p, int version,\n"
103 "\\& int content_type, const void *buf,\n"
104 "\\& size_t len, SSL *ssl, void *arg));\n"
105 "\\& void SSL_CTX_set_msg_callback_arg(SSL_CTX *ctx, void *arg);\n"
106 "\\&\n"
107 "\\& void SSL_set_msg_callback(SSL *ssl,\n"
108 "\\& void (*cb)(int write_p, int version,\n"
109 "\\& int content_type, const void *buf,\n"
110 "\\& size_t len, SSL *ssl, void *arg));\n"
111 "\\& void SSL_set_msg_callback_arg(SSL *ssl, void *arg);\n"
112 "\\&\n"
113 "\\& void SSL_trace(int write_p, int version, int content_type,\n"
114 "\\& const void *buf, size_t len, SSL *ssl, void *arg);\n"
115 msgstr ""
116
117 #. type: IX
118 #: archlinux debian-trixie debian-unstable
119 #, no-wrap
120 msgid "DESCRIPTION"
121 msgstr ""
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable
125 msgid ""
126 "\\&B<SSL_CTX_set_msg_callback()> or B<SSL_set_msg_callback()> can be used to "
127 "define a message callback function I<cb> for observing all SSL/TLS/QUIC "
128 "protocol messages (such as handshake messages) that are received or sent, as "
129 "well as other events that occur during processing. "
130 "\\&B<SSL_CTX_set_msg_callback_arg()> and B<SSL_set_msg_callback_arg()> can "
131 "be used to set argument I<arg> to the callback function, which is available "
132 "for arbitrary application use."
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable
137 msgid ""
138 "\\&B<SSL_CTX_set_msg_callback()> and B<SSL_CTX_set_msg_callback_arg()> "
139 "specify default settings that will be copied to new B<SSL> objects by "
140 "\\&B<SSL_new>\\|(3). B<SSL_set_msg_callback()> and "
141 "\\&B<SSL_set_msg_callback_arg()> modify the actual settings of an B<SSL> "
142 "object. Using a B<NULL> pointer for I<cb> disables the message callback."
143 msgstr ""
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable
147 msgid ""
148 "When I<cb> is called by the SSL/TLS/QUIC library the function arguments have "
149 "the following meaning:"
150 msgstr ""
151
152 #. type: IP
153 #: archlinux debian-trixie debian-unstable
154 #, no-wrap
155 msgid "I<write_p>"
156 msgstr ""
157
158 #. type: IX
159 #: archlinux debian-trixie debian-unstable
160 #, no-wrap
161 msgid "Item"
162 msgstr ""
163
164 #. type: IX
165 #: archlinux debian-trixie debian-unstable
166 #, no-wrap
167 msgid "write_p"
168 msgstr ""
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable
172 msgid ""
173 "This flag is B<0> when a protocol message has been received and B<1> when a "
174 "protocol message has been sent."
175 msgstr ""
176
177 #. type: IP
178 #: archlinux debian-trixie debian-unstable
179 #, no-wrap
180 msgid "I<version>"
181 msgstr ""
182
183 #. type: IX
184 #: archlinux debian-trixie debian-unstable
185 #, no-wrap
186 msgid "version"
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable
191 msgid ""
192 "The protocol version according to which the protocol message is interpreted "
193 "by the library such as B<TLS1_3_VERSION>, B<TLS1_2_VERSION>, "
194 "\\&B<OSSL_QUIC1_VERSION> etc. For the SSL3_RT_HEADER pseudo content type "
195 "(see NOTES below) this value will be the decoded version/legacy_version "
196 "field of the record header."
197 msgstr ""
198
199 #. type: IP
200 #: archlinux debian-trixie debian-unstable
201 #, no-wrap
202 msgid "I<content_type>"
203 msgstr ""
204
205 #. type: IX
206 #: archlinux debian-trixie debian-unstable
207 #, no-wrap
208 msgid "content_type"
209 msgstr ""
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable
213 msgid ""
214 "This is one of the content type values defined in the protocol specification "
215 "(B<SSL3_RT_CHANGE_CIPHER_SPEC>, B<SSL3_RT_ALERT>, B<SSL3_RT_HANDSHAKE>; but "
216 "never \\&B<SSL3_RT_APPLICATION_DATA> because the callback will only be "
217 "called for protocol messages). Alternatively it may be a \"pseudo\" content "
218 "type. These pseudo content types are used to signal some other event in the "
219 "processing of data (see NOTES below)."
220 msgstr ""
221
222 #. type: IP
223 #: archlinux debian-trixie debian-unstable
224 #, no-wrap
225 msgid "I<buf>, I<len>"
226 msgstr ""
227
228 #. type: IX
229 #: archlinux debian-trixie debian-unstable
230 #, no-wrap
231 msgid "buf, len"
232 msgstr ""
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable
236 msgid ""
237 "\\&I<buf> points to a buffer containing the protocol message or other data "
238 "(in the case of pseudo content types), which consists of I<len> bytes. The "
239 "buffer is no longer valid after the callback function has returned."
240 msgstr ""
241
242 #. type: IP
243 #: archlinux debian-trixie debian-unstable
244 #, no-wrap
245 msgid "I<ssl>"
246 msgstr ""
247
248 #. type: IX
249 #: archlinux debian-trixie debian-unstable
250 #, no-wrap
251 msgid "ssl"
252 msgstr ""
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable
256 msgid "The B<SSL> object that received or sent the message."
257 msgstr ""
258
259 #. type: IP
260 #: archlinux debian-trixie debian-unstable
261 #, no-wrap
262 msgid "I<arg>"
263 msgstr ""
264
265 #. type: IX
266 #: archlinux debian-trixie debian-unstable
267 #, no-wrap
268 msgid "arg"
269 msgstr ""
270
271 #. type: Plain text
272 #: archlinux debian-trixie debian-unstable
273 msgid ""
274 "The user-defined argument optionally defined by "
275 "\\&B<SSL_CTX_set_msg_callback_arg()> or B<SSL_set_msg_callback_arg()>."
276 msgstr ""
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable
280 msgid ""
281 "The B<SSL_trace()> function can be used as a pre-written callback in a call "
282 "to \\&B<SSL_CTX_set_msg_callback()> or B<SSL_set_msg_callback()>. It "
283 "requires a BIO to be set as the callback argument via "
284 "B<SSL_CTX_set_msg_callback_arg()> or \\&B<SSL_set_msg_callback_arg()>. "
285 "Setting this callback will cause human readable diagostic tracing "
286 "information about an SSL/TLS/QUIC connection to be written to the BIO."
287 msgstr ""
288
289 #. type: IX
290 #: archlinux debian-trixie debian-unstable
291 #, no-wrap
292 msgid "NOTES"
293 msgstr ""
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable
297 msgid ""
298 "Protocol messages are passed to the callback function after decryption and "
299 "fragment collection where applicable. (Thus record boundaries are not "
300 "visible.)"
301 msgstr ""
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable
305 msgid ""
306 "If processing a received protocol message results in an error, the callback "
307 "function may not be called. For example, the callback function will never "
308 "see messages that are considered too large to be processed."
309 msgstr ""
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable
313 msgid ""
314 "Due to automatic protocol version negotiation, I<version> is not necessarily "
315 "the protocol version used by the sender of the message: If a TLS 1.0 "
316 "ClientHello message is received by an SSL 3.0-only server, \\&I<version> "
317 "will be B<SSL3_VERSION>."
318 msgstr ""
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable
322 msgid ""
323 "Pseudo content type values may be sent at various points during the "
324 "processing of data. The following pseudo content types are currently defined:"
325 msgstr ""
326
327 #. type: IP
328 #: archlinux debian-trixie debian-unstable
329 #, no-wrap
330 msgid "B<SSL3_RT_HEADER>"
331 msgstr ""
332
333 #. type: IX
334 #: archlinux debian-trixie debian-unstable
335 #, no-wrap
336 msgid "SSL3_RT_HEADER"
337 msgstr ""
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable
341 msgid ""
342 "Used when a TLS record is sent or received. The B<buf> contains the record "
343 "header bytes only."
344 msgstr ""
345
346 #. type: IP
347 #: archlinux debian-trixie debian-unstable
348 #, no-wrap
349 msgid "B<SSL3_RT_INNER_CONTENT_TYPE>"
350 msgstr ""
351
352 #. type: IX
353 #: archlinux debian-trixie debian-unstable
354 #, no-wrap
355 msgid "SSL3_RT_INNER_CONTENT_TYPE"
356 msgstr ""
357
358 #. type: Plain text
359 #: archlinux debian-trixie debian-unstable
360 msgid ""
361 "Used when an encrypted TLSv1.3 record is sent or received. In encrypted "
362 "TLSv1.3 records the content type in the record header is always "
363 "SSL3_RT_APPLICATION_DATA. The real content type for the record is contained "
364 "in an \"inner\" content type. B<buf> contains the encoded \"inner\" content "
365 "type byte."
366 msgstr ""
367
368 #. type: IP
369 #: archlinux debian-trixie debian-unstable
370 #, no-wrap
371 msgid "B<SSL3_RT_QUIC_DATAGRAM>"
372 msgstr ""
373
374 #. type: IX
375 #: archlinux debian-trixie debian-unstable
376 #, no-wrap
377 msgid "SSL3_RT_QUIC_DATAGRAM"
378 msgstr ""
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable
382 msgid "Used when a QUIC datagram is sent or received."
383 msgstr ""
384
385 #. type: IP
386 #: archlinux debian-trixie debian-unstable
387 #, no-wrap
388 msgid "B<SSL3_RT_QUIC_PACKET>"
389 msgstr ""
390
391 #. type: IX
392 #: archlinux debian-trixie debian-unstable
393 #, no-wrap
394 msgid "SSL3_RT_QUIC_PACKET"
395 msgstr ""
396
397 #. type: Plain text
398 #: archlinux debian-trixie debian-unstable
399 msgid "Used when a QUIC packet is sent or received."
400 msgstr ""
401
402 #. type: IP
403 #: archlinux debian-trixie debian-unstable
404 #, no-wrap
405 msgid "B<SSL3_RT_QUIC_FRAME_FULL>"
406 msgstr ""
407
408 #. type: IX
409 #: archlinux debian-trixie debian-unstable
410 #, no-wrap
411 msgid "SSL3_RT_QUIC_FRAME_FULL"
412 msgstr ""
413
414 #. type: Plain text
415 #: archlinux debian-trixie debian-unstable
416 msgid ""
417 "Used when a QUIC frame is sent or received. This is only used for non-crypto "
418 "and stream data related frames. The full QUIC frame data is supplied."
419 msgstr ""
420
421 #. type: IP
422 #: archlinux debian-trixie debian-unstable
423 #, no-wrap
424 msgid "B<SSL3_RT_QUIC_FRAME_HEADER>"
425 msgstr ""
426
427 #. type: IX
428 #: archlinux debian-trixie debian-unstable
429 #, no-wrap
430 msgid "SSL3_RT_QUIC_FRAME_HEADER"
431 msgstr ""
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable
435 msgid ""
436 "Used when a QUIC stream data or crypto frame is sent or received. Only the "
437 "QUIC frame header data is supplied."
438 msgstr ""
439
440 #. type: IP
441 #: archlinux debian-trixie debian-unstable
442 #, no-wrap
443 msgid "B<SSL3_RT_QUIC_FRAME_PADDING>"
444 msgstr ""
445
446 #. type: IX
447 #: archlinux debian-trixie debian-unstable
448 #, no-wrap
449 msgid "SSL3_RT_QUIC_FRAME_PADDING"
450 msgstr ""
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable
454 msgid ""
455 "Used when a sequence of one or more QUIC padding frames is sent or "
456 "received. A padding frame consists of a single byte and it is common to "
457 "have multiple such frames in a sequence. Rather than supplying each frame "
458 "individually the callback will supply all the padding frames in one go via "
459 "this pseudo content type."
460 msgstr ""
461
462 #. type: IX
463 #: archlinux debian-trixie debian-unstable
464 #, no-wrap
465 msgid "RETURN VALUES"
466 msgstr ""
467
468 #. type: Plain text
469 #: archlinux debian-trixie debian-unstable
470 msgid ""
471 "\\&B<SSL_CTX_set_msg_callback()>, B<SSL_CTX_set_msg_callback_arg()>, "
472 "B<SSL_set_msg_callback()> and B<SSL_set_msg_callback_arg()> do not return "
473 "values."
474 msgstr ""
475
476 #. type: IX
477 #: archlinux debian-trixie debian-unstable
478 #, no-wrap
479 msgid "SEE ALSO"
480 msgstr ""
481
482 #. type: Plain text
483 #: archlinux debian-trixie debian-unstable
484 msgid "\\&B<ssl>\\|(7), B<SSL_new>\\|(3)"
485 msgstr ""
486
487 #. type: IX
488 #: archlinux debian-trixie debian-unstable
489 #, no-wrap
490 msgid "HISTORY"
491 msgstr ""
492
493 #. type: Plain text
494 #: archlinux debian-trixie debian-unstable
495 msgid ""
496 "The pseudo content type B<SSL3_RT_INNER_CONTENT_TYPE> was added in OpenSSL "
497 "1.1.1."
498 msgstr ""
499
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable
502 msgid ""
503 "The pseudo content types B<SSL3_RT_QUIC_DATAGRAM>, B<SSL3_RT_QUIC_PACKET>, "
504 "\\&B<SSL3_RT_QUIC_FRAME_FULL>, B<SSL3_RT_QUIC_FRAME_HEADER> and "
505 "\\&B<SSL3_RT_QUIC_FRAME_PADDING> were added in OpenSSL 3.2."
506 msgstr ""
507
508 #. type: Plain text
509 #: archlinux debian-trixie debian-unstable
510 msgid ""
511 "In versions previous to OpenSSL 3.0 I<cb> was called with 0 as I<version> "
512 "for the pseudo content type B<SSL3_RT_HEADER> for TLS records."
513 msgstr ""
514
515 #. type: Plain text
516 #: archlinux debian-trixie debian-unstable
517 msgid ""
518 "In versions previous to OpenSSL 3.2 I<cb> was called with 0 as I<version> "
519 "for the pseudo content type B<SSL3_RT_HEADER> for DTLS records."
520 msgstr ""
521
522 #. type: IX
523 #: archlinux debian-trixie debian-unstable
524 #, no-wrap
525 msgid "COPYRIGHT"
526 msgstr ""
527
528 #. type: Plain text
529 #: archlinux debian-trixie debian-unstable
530 msgid "Copyright 2001-2023 The OpenSSL Project Authors. All Rights Reserved."
531 msgstr ""
532
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable
535 msgid ""
536 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
537 "this file except in compliance with the License. You can obtain a copy in "
538 "the file LICENSE in the source distribution or at E<lt>https://"
539 "www.openssl.org/source/license.htmlE<gt>."
540 msgstr ""
541
542 #. ========================================================================
543 #. type: IX
544 #: debian-trixie debian-unstable
545 #, no-wrap
546 msgid "SSL_CTX_SET_MSG_CALLBACK 3SSL"
547 msgstr ""
548
549 #. type: TH
550 #: debian-trixie
551 #, no-wrap
552 msgid "3.5.6"
553 msgstr ""