Debian Codegraph @

templates/man3/SSL_CTX_use_psk_identity_hint.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_use_psk_identity_hint.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: SSL_CTX_use_psk_identity_hint.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: SSL_CTX_use_psk_identity_hint.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: SSL_CTX_use_psk_identity_hint.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_USE_PSK_IDENTITY_HINT 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "SSL_CTX_USE_PSK_IDENTITY_HINT"
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_psk_server_cb_func, SSL_psk_find_session_cb_func, "
79 "SSL_CTX_use_psk_identity_hint, SSL_use_psk_identity_hint, "
80 "SSL_CTX_set_psk_server_callback, SSL_set_psk_server_callback, "
81 "SSL_CTX_set_psk_find_session_callback, SSL_set_psk_find_session_callback "
82 "\\&- set PSK identity hint to use"
83 msgstr ""
84
85 #. type: IX
86 #: archlinux debian-trixie debian-unstable
87 #, no-wrap
88 msgid "SYNOPSIS"
89 msgstr ""
90
91 #. type: IX
92 #: archlinux debian-trixie debian-unstable
93 #, no-wrap
94 msgid "Header"
95 msgstr ""
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable
99 #, no-wrap
100 msgid ""
101 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
102 "\\&\n"
103 "\\& typedef int (*SSL_psk_find_session_cb_func)(SSL *ssl,\n"
104 "\\& const unsigned char *identity,\n"
105 "\\& size_t identity_len,\n"
106 "\\& SSL_SESSION **sess);\n"
107 "\\&\n"
108 "\\&\n"
109 "\\& void SSL_CTX_set_psk_find_session_callback(SSL_CTX *ctx,\n"
110 "\\& SSL_psk_find_session_cb_func cb);\n"
111 "\\& void SSL_set_psk_find_session_callback(SSL *s, SSL_psk_find_session_cb_func cb);\n"
112 "\\&\n"
113 "\\& typedef unsigned int (*SSL_psk_server_cb_func)(SSL *ssl,\n"
114 "\\& const char *identity,\n"
115 "\\& unsigned char *psk,\n"
116 "\\& unsigned int max_psk_len);\n"
117 "\\&\n"
118 "\\& int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *hint);\n"
119 "\\& int SSL_use_psk_identity_hint(SSL *ssl, const char *hint);\n"
120 "\\&\n"
121 "\\& void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx, SSL_psk_server_cb_func cb);\n"
122 "\\& void SSL_set_psk_server_callback(SSL *ssl, SSL_psk_server_cb_func cb);\n"
123 msgstr ""
124
125 #. type: IX
126 #: archlinux debian-trixie debian-unstable
127 #, no-wrap
128 msgid "DESCRIPTION"
129 msgstr ""
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable
133 msgid ""
134 "A server application wishing to use TLSv1.3 PSKs should set a callback using "
135 "either B<SSL_CTX_set_psk_find_session_callback()> or "
136 "\\&B<SSL_set_psk_find_session_callback()> as appropriate."
137 msgstr ""
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable
141 msgid ""
142 "The callback function is given a pointer to the SSL connection in B<ssl> and "
143 "an identity in B<identity> of length B<identity_len>. The callback function "
144 "should identify an SSL_SESSION object that provides the PSK details and "
145 "store it in B<*sess>. The SSL_SESSION object should, as a minimum, set the "
146 "master key, the ciphersuite and the protocol version. See "
147 "\\&B<SSL_CTX_set_psk_use_session_callback>\\|(3) for details."
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable
152 msgid ""
153 "It is also possible for the callback to succeed but not supply a PSK. In "
154 "this case no PSK will be used but the handshake will continue. To do this "
155 "the callback should return successfully and ensure that B<*sess> is NULL."
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable
160 msgid ""
161 "Identity hints are not relevant for TLSv1.3. A server application wishing to "
162 "use PSK ciphersuites for TLSv1.2 and below may call "
163 "B<SSL_CTX_use_psk_identity_hint()> to set the given B<NUL>-terminated PSK "
164 "identity hint B<hint> for SSL context object B<ctx>. "
165 "B<SSL_use_psk_identity_hint()> sets the given B<NUL>-terminated PSK identity "
166 "hint B<hint> for the SSL connection object B<ssl>. If B<hint> is \\&B<NULL> "
167 "the current hint from B<ctx> or B<ssl> is deleted."
168 msgstr ""
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable
172 msgid ""
173 "In the case where PSK identity hint is B<NULL>, the server does not send the "
174 "ServerKeyExchange message to the client."
175 msgstr ""
176
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable
179 msgid ""
180 "A server application wishing to use PSKs for TLSv1.2 and below must provide "
181 "a callback function which is called when the server receives the "
182 "ClientKeyExchange message from the client. The purpose of the callback "
183 "function is to validate the received PSK identity and to fetch the pre-"
184 "shared key used during the connection setup phase. The callback is set using "
185 "the functions \\&B<SSL_CTX_set_psk_server_callback()> or "
186 "B<SSL_set_psk_server_callback()>. The callback function is given the "
187 "connection in parameter B<ssl>, B<NUL>-terminated PSK identity sent by the "
188 "client in parameter B<identity>, and a buffer B<psk> of length "
189 "B<max_psk_len> bytes where the pre-shared key is to be stored."
190 msgstr ""
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable
194 msgid ""
195 "The callback for use in TLSv1.2 will also work in TLSv1.3 although it is "
196 "recommended to use B<SSL_CTX_set_psk_find_session_callback()> or "
197 "B<SSL_set_psk_find_session_callback()> for this purpose instead. If TLSv1.3 "
198 "has been negotiated then OpenSSL will first check to see if a callback has "
199 "been set via B<SSL_CTX_set_psk_find_session_callback()> or "
200 "B<SSL_set_psk_find_session_callback()> and it will use that in preference. "
201 "If no such callback is present then it will check to see if a callback has "
202 "been set via B<SSL_CTX_set_psk_server_callback()> or "
203 "\\&B<SSL_set_psk_server_callback()> and use that. In this case the handshake "
204 "digest will default to SHA-256 for any returned PSK. TLSv1.3 early data "
205 "exchanges are possible in PSK connections only with the "
206 "B<SSL_psk_find_session_cb_func> callback, and are not possible with the "
207 "B<SSL_psk_server_cb_func> callback."
208 msgstr ""
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable
212 msgid ""
213 "A connection established via a TLSv1.3 PSK will appear as if session "
214 "resumption has occurred so that B<SSL_session_reused>\\|(3) will return true."
215 msgstr ""
216
217 #. type: IX
218 #: archlinux debian-trixie debian-unstable
219 #, no-wrap
220 msgid "RETURN VALUES"
221 msgstr ""
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable
225 msgid ""
226 "\\&B<SSL_CTX_use_psk_identity_hint()> and B<SSL_use_psk_identity_hint()> "
227 "return 1 on success, 0 otherwise."
228 msgstr ""
229
230 #. type: Plain text
231 #: archlinux debian-trixie debian-unstable
232 msgid ""
233 "Return values from the TLSv1.2 and below server callback are interpreted as "
234 "follows:"
235 msgstr ""
236
237 #. type: IP
238 #: archlinux debian-trixie debian-unstable
239 #, no-wrap
240 msgid "0"
241 msgstr ""
242
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable
245 msgid ""
246 "PSK identity was not found. An \"unknown_psk_identity\" alert message will "
247 "be sent and the connection setup fails."
248 msgstr ""
249
250 #. type: IX
251 #: archlinux debian-trixie debian-unstable
252 #, no-wrap
253 msgid "E<gt>0"
254 msgstr ""
255
256 #. type: IX
257 #: archlinux debian-trixie debian-unstable
258 #, no-wrap
259 msgid "Item"
260 msgstr ""
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable
264 msgid ""
265 "PSK identity was found and the server callback has provided the PSK "
266 "successfully in parameter B<psk>. Return value is the length of \\&B<psk> in "
267 "bytes. It is an error to return a value greater than \\&B<max_psk_len>."
268 msgstr ""
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable
272 msgid ""
273 "If the PSK identity was not found but the callback instructs the protocol to "
274 "continue anyway, the callback must provide some random data to B<psk> and "
275 "return the length of the random data, so the connection will fail with "
276 "decryption_error before it will be finished completely."
277 msgstr ""
278
279 #. type: Plain text
280 #: archlinux debian-trixie debian-unstable
281 msgid ""
282 "The B<SSL_psk_find_session_cb_func> callback should return 1 on success or 0 "
283 "on failure. In the event of failure the connection setup fails."
284 msgstr ""
285
286 #. type: IX
287 #: archlinux debian-trixie debian-unstable
288 #, no-wrap
289 msgid "NOTES"
290 msgstr ""
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable
294 msgid ""
295 "There are no known security issues with sharing the same PSK between TLSv1.2 "
296 "(or below) and TLSv1.3. However, the RFC has this note of caution:"
297 msgstr ""
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable
301 msgid ""
302 "While there is no known way in which the same PSK might produce related "
303 "output in both versions, only limited analysis has been done. "
304 "Implementations can ensure safety from cross-protocol related output by not "
305 "reusing PSKs between TLS 1.3 and TLS 1.2."
306 msgstr ""
307
308 #. type: IX
309 #: archlinux debian-trixie debian-unstable
310 #, no-wrap
311 msgid "SEE ALSO"
312 msgstr ""
313
314 #. type: Plain text
315 #: archlinux debian-trixie debian-unstable
316 msgid ""
317 "\\&B<ssl>\\|(7), \\&B<SSL_CTX_set_psk_use_session_callback>\\|(3), "
318 "\\&B<SSL_set_psk_use_session_callback>\\|(3)"
319 msgstr ""
320
321 #. type: IX
322 #: archlinux debian-trixie debian-unstable
323 #, no-wrap
324 msgid "HISTORY"
325 msgstr ""
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable
329 msgid ""
330 "\\&B<SSL_CTX_set_psk_find_session_callback()> and "
331 "B<SSL_set_psk_find_session_callback()> were added in OpenSSL 1.1.1."
332 msgstr ""
333
334 #. type: IX
335 #: archlinux debian-trixie debian-unstable
336 #, no-wrap
337 msgid "COPYRIGHT"
338 msgstr ""
339
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable
342 msgid "Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved."
343 msgstr ""
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable
347 msgid ""
348 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
349 "this file except in compliance with the License. You can obtain a copy in "
350 "the file LICENSE in the source distribution or at E<lt>https://"
351 "www.openssl.org/source/license.htmlE<gt>."
352 msgstr ""
353
354 #. ========================================================================
355 #. type: IX
356 #: debian-trixie debian-unstable
357 #, no-wrap
358 msgid "SSL_CTX_USE_PSK_IDENTITY_HINT 3SSL"
359 msgstr ""
360
361 #. type: TH
362 #: debian-trixie
363 #, no-wrap
364 msgid "3.5.6"
365 msgstr ""