Debian Codegraph @

templates/man3/SSL_CTX_set_default_passwd_cb.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_default_passwd_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: SSL_CTX_set_default_passwd_cb.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_default_passwd_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: SSL_CTX_set_default_passwd_cb.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_DEFAULT_PASSWD_CB 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "SSL_CTX_SET_DEFAULT_PASSWD_CB"
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_default_passwd_cb, SSL_CTX_set_default_passwd_cb_userdata, "
79 "SSL_CTX_get_default_passwd_cb, SSL_CTX_get_default_passwd_cb_userdata, "
80 "SSL_set_default_passwd_cb, SSL_set_default_passwd_cb_userdata, "
81 "SSL_get_default_passwd_cb, SSL_get_default_passwd_cb_userdata - set or get "
82 "passwd callback for encrypted PEM file handling"
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 "\\& void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb);\n"
104 "\\& void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u);\n"
105 "\\& pem_password_cb *SSL_CTX_get_default_passwd_cb(SSL_CTX *ctx);\n"
106 "\\& void *SSL_CTX_get_default_passwd_cb_userdata(SSL_CTX *ctx);\n"
107 "\\&\n"
108 "\\& void SSL_set_default_passwd_cb(SSL *s, pem_password_cb *cb);\n"
109 "\\& void SSL_set_default_passwd_cb_userdata(SSL *s, void *u);\n"
110 "\\& pem_password_cb *SSL_get_default_passwd_cb(SSL *s);\n"
111 "\\& void *SSL_get_default_passwd_cb_userdata(SSL *s);\n"
112 msgstr ""
113
114 #. type: IX
115 #: archlinux debian-trixie debian-unstable
116 #, no-wrap
117 msgid "DESCRIPTION"
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable
122 msgid ""
123 "\\&B<SSL_CTX_set_default_passwd_cb()> sets the default password callback "
124 "called when loading/storing a PEM certificate with encryption."
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable
129 msgid ""
130 "\\&B<SSL_CTX_set_default_passwd_cb_userdata()> sets a pointer to userdata, "
131 "B<u>, which will be provided to the password callback on invocation."
132 msgstr ""
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable
136 msgid ""
137 "\\&B<SSL_CTX_get_default_passwd_cb()> returns a function pointer to the "
138 "password callback currently set in B<ctx>. If no callback was explicitly "
139 "set, the NULL pointer is returned."
140 msgstr ""
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable
144 msgid ""
145 "\\&B<SSL_CTX_get_default_passwd_cb_userdata()> returns a pointer to the "
146 "userdata currently set in B<ctx>. If no userdata was explicitly set, the "
147 "NULL pointer is returned."
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable
152 msgid ""
153 "\\&B<SSL_set_default_passwd_cb()>, B<SSL_set_default_passwd_cb_userdata()>, "
154 "\\&B<SSL_get_default_passwd_cb()> and "
155 "B<SSL_get_default_passwd_cb_userdata()> perform the same function as their "
156 "SSL_CTX counterparts, but using an SSL object."
157 msgstr ""
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable
161 msgid ""
162 "The password callback, which must be provided by the application, hands back "
163 "the password to be used during decryption. On invocation a pointer to "
164 "userdata is provided. The function must store the password into the provided "
165 "buffer \\&B<buf> which is of size B<size>. The actual length of the password "
166 "must be returned to the calling function. B<rwflag> indicates whether the "
167 "callback is used for reading/decryption (rwflag=0) or writing/encryption "
168 "(rwflag=1). For more details, see B<pem_password_cb>\\|(3)."
169 msgstr ""
170
171 #. type: IX
172 #: archlinux debian-trixie debian-unstable
173 #, no-wrap
174 msgid "NOTES"
175 msgstr ""
176
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable
179 msgid ""
180 "When loading or storing private keys, a password might be supplied to "
181 "protect the private key. The way this password can be supplied may depend on "
182 "the application. If only one private key is handled, it can be practical to "
183 "have the callback handle the password dialog interactively. If several keys "
184 "have to be handled, it can be practical to ask for the password once, then "
185 "keep it in memory and use it several times. In the last case, the password "
186 "could be stored into the userdata storage and the callback only returns the "
187 "password already stored."
188 msgstr ""
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable
192 msgid ""
193 "When asking for the password interactively, the callback can use "
194 "\\&B<rwflag> to check, whether an item shall be encrypted (rwflag=1). In "
195 "this case the password dialog may ask for the same password twice for "
196 "comparison in order to catch typos, that would make decryption impossible."
197 msgstr ""
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable
201 msgid ""
202 "Other items in PEM formatting (certificates) can also be encrypted, it is "
203 "however not usual, as certificate information is considered public."
204 msgstr ""
205
206 #. type: IX
207 #: archlinux debian-trixie debian-unstable
208 #, no-wrap
209 msgid "RETURN VALUES"
210 msgstr ""
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable
214 msgid "These functions do not provide diagnostic information."
215 msgstr ""
216
217 #. type: IX
218 #: archlinux debian-trixie debian-unstable
219 #, no-wrap
220 msgid "EXAMPLES"
221 msgstr ""
222
223 #. type: Plain text
224 #: archlinux
225 msgid ""
226 "The following example returns the password provided as userdata to the "
227 "calling function. The password is considered to be a \\*(Aq\\e0\\*(Aq "
228 "terminated string. If the password does not fit into the buffer, the "
229 "password is truncated."
230 msgstr ""
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable
234 #, no-wrap
235 msgid ""
236 "\\& int my_cb(char *buf, int size, int rwflag, void *u)\n"
237 "\\& {\n"
238 "\\& strncpy(buf, (char *)u, size);\n"
239 "\\& buf[size - 1] = \\*(Aq\\e0\\*(Aq;\n"
240 "\\& return strlen(buf);\n"
241 "\\& }\n"
242 msgstr ""
243
244 #. type: IX
245 #: archlinux debian-trixie debian-unstable
246 #, no-wrap
247 msgid "SEE ALSO"
248 msgstr ""
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable
252 msgid "\\&B<ssl>\\|(7), \\&B<SSL_CTX_use_certificate>\\|(3)"
253 msgstr ""
254
255 #. type: IX
256 #: archlinux debian-trixie debian-unstable
257 #, no-wrap
258 msgid "HISTORY"
259 msgstr ""
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable
263 msgid ""
264 "\\&B<SSL_CTX_get_default_passwd_cb()>, "
265 "B<SSL_CTX_get_default_passwd_cb_userdata()>, "
266 "\\&B<SSL_set_default_passwd_cb()> and "
267 "B<SSL_set_default_passwd_cb_userdata()> were added in OpenSSL 1.1.0."
268 msgstr ""
269
270 #. type: IX
271 #: archlinux debian-trixie debian-unstable
272 #, no-wrap
273 msgid "COPYRIGHT"
274 msgstr ""
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable
278 msgid "Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved."
279 msgstr ""
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable
283 msgid ""
284 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
285 "this file except in compliance with the License. You can obtain a copy in "
286 "the file LICENSE in the source distribution or at E<lt>https://"
287 "www.openssl.org/source/license.htmlE<gt>."
288 msgstr ""
289
290 #. ========================================================================
291 #. type: IX
292 #: debian-trixie debian-unstable
293 #, no-wrap
294 msgid "SSL_CTX_SET_DEFAULT_PASSWD_CB 3SSL"
295 msgstr ""
296
297 #. type: TH
298 #: debian-trixie
299 #, no-wrap
300 msgid "3.5.6"
301 msgstr ""
302
303 #. type: Plain text
304 #: debian-trixie debian-unstable
305 msgid ""
306 "The following example returns the password provided as userdata to the "
307 "calling function. The password is considered to be a '\\e0' terminated "
308 "string. If the password does not fit into the buffer, the password is "
309 "truncated."
310 msgstr ""