Debian Codegraph @

templates/man3/SSL_CTX_set_info_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_info_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: SSL_CTX_set_info_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_info_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: SSL_CTX_set_info_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_INFO_CALLBACK 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "SSL_CTX_SET_INFO_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_info_callback, SSL_CTX_get_info_callback, SSL_set_info_callback, "
79 "SSL_get_info_callback \\&- handle information callback for SSL connections"
80 msgstr ""
81
82 #. type: IX
83 #: archlinux debian-trixie debian-unstable
84 #, no-wrap
85 msgid "SYNOPSIS"
86 msgstr ""
87
88 #. type: IX
89 #: archlinux debian-trixie debian-unstable
90 #, no-wrap
91 msgid "Header"
92 msgstr ""
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable
96 #, no-wrap
97 msgid ""
98 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
99 "\\&\n"
100 "\\& void SSL_CTX_set_info_callback(SSL_CTX *ctx,\n"
101 "\\& void (*callback) (const SSL *ssl, int type, int val));\n"
102 "\\&\n"
103 "\\& void (*SSL_CTX_get_info_callback(SSL_CTX *ctx)) (const SSL *ssl, int type, int val);\n"
104 "\\&\n"
105 "\\& void SSL_set_info_callback(SSL *ssl,\n"
106 "\\& void (*callback) (const SSL *ssl, int type, int val));\n"
107 "\\&\n"
108 "\\& void (*SSL_get_info_callback(const SSL *ssl)) (const SSL *ssl, int type, int val);\n"
109 msgstr ""
110
111 #. type: IX
112 #: archlinux debian-trixie debian-unstable
113 #, no-wrap
114 msgid "DESCRIPTION"
115 msgstr ""
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable
119 msgid ""
120 "\\&B<SSL_CTX_set_info_callback()> sets the B<callback> function, that can be "
121 "used to obtain state information for SSL objects created from B<ctx> during "
122 "connection setup and use. The setting for B<ctx> is overridden from the "
123 "setting for a specific SSL object, if specified. When B<callback> is NULL, "
124 "no callback function is used."
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable
129 msgid ""
130 "\\&B<SSL_set_info_callback()> sets the B<callback> function, that can be "
131 "used to obtain state information for B<ssl> during connection setup and "
132 "use. When B<callback> is NULL, the callback setting currently valid for "
133 "\\&B<ctx> is used. B<ssl> B<MUST NOT> be NULL."
134 msgstr ""
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable
138 msgid ""
139 "\\&B<SSL_CTX_get_info_callback()> returns a pointer to the currently set "
140 "information callback function for B<ctx>."
141 msgstr ""
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable
145 msgid ""
146 "\\&B<SSL_get_info_callback()> returns a pointer to the currently set "
147 "information callback function for B<ssl>."
148 msgstr ""
149
150 #. type: IX
151 #: archlinux debian-trixie debian-unstable
152 #, no-wrap
153 msgid "NOTES"
154 msgstr ""
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable
158 msgid ""
159 "When setting up a connection and during use, it is possible to obtain state "
160 "information from the SSL/TLS engine. When set, an information callback "
161 "function is called whenever a significant event occurs such as: the state "
162 "changes, an alert appears, or an error occurs."
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable
167 msgid ""
168 "The callback function is called as B<callback(SSL *ssl, int where, int "
169 "ret)>. The B<where> argument specifies information about where (in which "
170 "context) the callback function was called. If B<ret> is 0, an error "
171 "condition occurred. If an alert is handled, SSL_CB_ALERT is set and B<ret> "
172 "specifies the alert information."
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable
177 msgid "\\&B<where> is a bit-mask made up of the following bits:"
178 msgstr ""
179
180 #. type: IX
181 #: archlinux debian-trixie debian-unstable
182 #, no-wrap
183 msgid "SSL_CB_LOOP"
184 msgstr ""
185
186 #. type: IX
187 #: archlinux debian-trixie debian-unstable
188 #, no-wrap
189 msgid "Item"
190 msgstr ""
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable
194 msgid ""
195 "Callback has been called to indicate state change or some other significant "
196 "state machine event. This may mean that the callback gets invoked more than "
197 "once per state in some situations."
198 msgstr ""
199
200 #. type: IX
201 #: archlinux debian-trixie debian-unstable
202 #, no-wrap
203 msgid "SSL_CB_EXIT"
204 msgstr ""
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable
208 msgid ""
209 "Callback has been called to indicate exit of a handshake function. This will "
210 "happen after the end of a handshake, but may happen at other times too such "
211 "as on error or when IO might otherwise block and nonblocking is being used."
212 msgstr ""
213
214 #. type: IX
215 #: archlinux debian-trixie debian-unstable
216 #, no-wrap
217 msgid "SSL_CB_READ"
218 msgstr ""
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable
222 msgid "Callback has been called during read operation."
223 msgstr ""
224
225 #. type: IX
226 #: archlinux debian-trixie debian-unstable
227 #, no-wrap
228 msgid "SSL_CB_WRITE"
229 msgstr ""
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable
233 msgid "Callback has been called during write operation."
234 msgstr ""
235
236 #. type: IX
237 #: archlinux debian-trixie debian-unstable
238 #, no-wrap
239 msgid "SSL_CB_ALERT"
240 msgstr ""
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable
244 msgid "Callback has been called due to an alert being sent or received."
245 msgstr ""
246
247 #. type: IP
248 #: archlinux debian-trixie debian-unstable
249 #, no-wrap
250 msgid "SSL_CB_READ_ALERT (SSL_CB_ALERT|SSL_CB_READ)"
251 msgstr ""
252
253 #. type: IX
254 #: archlinux debian-trixie debian-unstable
255 #, no-wrap
256 msgid "SSL_CB_READ_ALERT (SSL_CB_ALERT|SSL_CB_READ)"
257 msgstr ""
258
259 #. type: IP
260 #: archlinux debian-trixie debian-unstable
261 #, no-wrap
262 msgid "SSL_CB_WRITE_ALERT (SSL_CB_ALERT|SSL_CB_WRITE)"
263 msgstr ""
264
265 #. type: IX
266 #: archlinux debian-trixie debian-unstable
267 #, no-wrap
268 msgid "SSL_CB_WRITE_ALERT (SSL_CB_ALERT|SSL_CB_WRITE)"
269 msgstr ""
270
271 #. type: IP
272 #: archlinux debian-trixie debian-unstable
273 #, no-wrap
274 msgid "SSL_CB_ACCEPT_LOOP (SSL_ST_ACCEPT|SSL_CB_LOOP)"
275 msgstr ""
276
277 #. type: IX
278 #: archlinux debian-trixie debian-unstable
279 #, no-wrap
280 msgid "SSL_CB_ACCEPT_LOOP (SSL_ST_ACCEPT|SSL_CB_LOOP)"
281 msgstr ""
282
283 #. type: IP
284 #: archlinux debian-trixie debian-unstable
285 #, no-wrap
286 msgid "SSL_CB_ACCEPT_EXIT (SSL_ST_ACCEPT|SSL_CB_EXIT)"
287 msgstr ""
288
289 #. type: IX
290 #: archlinux debian-trixie debian-unstable
291 #, no-wrap
292 msgid "SSL_CB_ACCEPT_EXIT (SSL_ST_ACCEPT|SSL_CB_EXIT)"
293 msgstr ""
294
295 #. type: IP
296 #: archlinux debian-trixie debian-unstable
297 #, no-wrap
298 msgid "SSL_CB_CONNECT_LOOP (SSL_ST_CONNECT|SSL_CB_LOOP)"
299 msgstr ""
300
301 #. type: IX
302 #: archlinux debian-trixie debian-unstable
303 #, no-wrap
304 msgid "SSL_CB_CONNECT_LOOP (SSL_ST_CONNECT|SSL_CB_LOOP)"
305 msgstr ""
306
307 #. type: IP
308 #: archlinux debian-trixie debian-unstable
309 #, no-wrap
310 msgid "SSL_CB_CONNECT_EXIT (SSL_ST_CONNECT|SSL_CB_EXIT)"
311 msgstr ""
312
313 #. type: IX
314 #: archlinux debian-trixie debian-unstable
315 #, no-wrap
316 msgid "SSL_CB_CONNECT_EXIT (SSL_ST_CONNECT|SSL_CB_EXIT)"
317 msgstr ""
318
319 #. type: IX
320 #: archlinux debian-trixie debian-unstable
321 #, no-wrap
322 msgid "SSL_CB_HANDSHAKE_START"
323 msgstr ""
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable
327 msgid ""
328 "Callback has been called because a new handshake is started. It also occurs "
329 "when resuming a handshake following a pause to handle early data."
330 msgstr ""
331
332 #. type: IX
333 #: archlinux debian-trixie debian-unstable
334 #, no-wrap
335 msgid "SSL_CB_HANDSHAKE_DONE"
336 msgstr ""
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable
340 msgid ""
341 "Callback has been called because a handshake is finished. It also occurs if "
342 "the handshake is paused to allow the exchange of early data."
343 msgstr ""
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable
347 msgid ""
348 "The current state information can be obtained using the "
349 "\\&B<SSL_state_string>\\|(3) family of functions."
350 msgstr ""
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable
354 msgid ""
355 "The B<ret> information can be evaluated using the "
356 "\\&B<SSL_alert_type_string>\\|(3) family of functions."
357 msgstr ""
358
359 #. type: IX
360 #: archlinux debian-trixie debian-unstable
361 #, no-wrap
362 msgid "RETURN VALUES"
363 msgstr ""
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable
367 msgid "\\&B<SSL_set_info_callback()> does not provide diagnostic information."
368 msgstr ""
369
370 #. type: Plain text
371 #: archlinux debian-trixie debian-unstable
372 msgid "\\&B<SSL_get_info_callback()> returns the current setting."
373 msgstr ""
374
375 #. type: IX
376 #: archlinux debian-trixie debian-unstable
377 #, no-wrap
378 msgid "EXAMPLES"
379 msgstr ""
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable
383 msgid ""
384 "The following example callback function prints state strings, information "
385 "about alerts being handled and error messages to the B<bio_err> BIO."
386 msgstr ""
387
388 #. type: Plain text
389 #: archlinux debian-trixie debian-unstable
390 #, no-wrap
391 msgid ""
392 "\\& void apps_ssl_info_callback(const SSL *s, int where, int ret)\n"
393 "\\& {\n"
394 "\\& const char *str;\n"
395 "\\& int w = where & ~SSL_ST_MASK;\n"
396 "\\&\n"
397 "\\& if (w & SSL_ST_CONNECT)\n"
398 "\\& str = \"SSL_connect\";\n"
399 "\\& else if (w & SSL_ST_ACCEPT)\n"
400 "\\& str = \"SSL_accept\";\n"
401 "\\& else\n"
402 "\\& str = \"undefined\";\n"
403 "\\&\n"
404 "\\& if (where & SSL_CB_LOOP) {\n"
405 "\\& BIO_printf(bio_err, \"%s:%s\\en\", str, SSL_state_string_long(s));\n"
406 "\\& } else if (where & SSL_CB_ALERT) {\n"
407 "\\& str = (where & SSL_CB_READ) ? \"read\" : \"write\";\n"
408 "\\& BIO_printf(bio_err, \"SSL3 alert %s:%s:%s\\en\", str,\n"
409 "\\& SSL_alert_type_string_long(ret),\n"
410 "\\& SSL_alert_desc_string_long(ret));\n"
411 "\\& } else if (where & SSL_CB_EXIT) {\n"
412 "\\& if (ret == 0) {\n"
413 "\\& BIO_printf(bio_err, \"%s:failed in %s\\en\",\n"
414 "\\& str, SSL_state_string_long(s));\n"
415 "\\& } else if (ret E<lt> 0) {\n"
416 "\\& BIO_printf(bio_err, \"%s:error in %s\\en\",\n"
417 "\\& str, SSL_state_string_long(s));\n"
418 "\\& }\n"
419 "\\& }\n"
420 "\\& }\n"
421 msgstr ""
422
423 #. type: IX
424 #: archlinux debian-trixie debian-unstable
425 #, no-wrap
426 msgid "SEE ALSO"
427 msgstr ""
428
429 #. type: Plain text
430 #: archlinux debian-trixie debian-unstable
431 msgid ""
432 "\\&B<ssl>\\|(7), B<SSL_state_string>\\|(3), \\&B<SSL_alert_type_string>\\|(3)"
433 msgstr ""
434
435 #. type: IX
436 #: archlinux debian-trixie debian-unstable
437 #, no-wrap
438 msgid "COPYRIGHT"
439 msgstr ""
440
441 #. type: Plain text
442 #: archlinux debian-trixie debian-unstable
443 msgid "Copyright 2001-2020 The OpenSSL Project Authors. All Rights Reserved."
444 msgstr ""
445
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable
448 msgid ""
449 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
450 "this file except in compliance with the License. You can obtain a copy in "
451 "the file LICENSE in the source distribution or at E<lt>https://"
452 "www.openssl.org/source/license.htmlE<gt>."
453 msgstr ""
454
455 #. ========================================================================
456 #. type: IX
457 #: debian-trixie debian-unstable
458 #, no-wrap
459 msgid "SSL_CTX_SET_INFO_CALLBACK 3SSL"
460 msgstr ""
461
462 #. type: TH
463 #: debian-trixie
464 #, no-wrap
465 msgid "3.5.6"
466 msgstr ""