Debian Codegraph @

templates/man3/SSL_CTX_set_cert_verify_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_cert_verify_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: SSL_CTX_set_cert_verify_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_cert_verify_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: SSL_CTX_set_cert_verify_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_CERT_VERIFY_CALLBACK 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "SSL_CTX_SET_CERT_VERIFY_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_cert_verify_callback - set peer certificate verification "
79 "procedure"
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_cert_verify_callback(SSL_CTX *ctx,\n"
101 "\\& int (*callback)(X509_STORE_CTX *, void *),\n"
102 "\\& void *arg);\n"
103 msgstr ""
104
105 #. type: IX
106 #: archlinux debian-trixie debian-unstable
107 #, no-wrap
108 msgid "DESCRIPTION"
109 msgstr ""
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable
113 msgid ""
114 "\\&B<SSL_CTX_set_cert_verify_callback()> sets the verification callback "
115 "function for \\&I<ctx>. SSL objects that are created from I<ctx> inherit the "
116 "setting valid at the time when B<SSL_new>\\|(3) is called."
117 msgstr ""
118
119 #. type: IX
120 #: archlinux debian-trixie debian-unstable
121 #, no-wrap
122 msgid "NOTES"
123 msgstr ""
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable
127 msgid ""
128 "When a peer certificate has been received during an SSL/TLS handshake, a "
129 "verification function is called regardless of the verification mode. If the "
130 "application does not explicitly specify a verification callback function, "
131 "the built-in verification function is used. If a verification callback "
132 "I<callback> is specified via \\&B<SSL_CTX_set_cert_verify_callback()>, the "
133 "supplied callback function is called instead with the arguments "
134 "callback(X509_STORE_CTX *x509_store_ctx, void *arg). The argument I<arg> is "
135 "specified by the application when setting I<callback>. By setting "
136 "I<callback> to NULL, the default behaviour is restored."
137 msgstr ""
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable
141 msgid ""
142 "\\&I<callback> should return 1 to indicate verification success and 0 to "
143 "indicate verification failure. In server mode, a return value of 0 leads to "
144 "handshake failure. In client mode, the behaviour is as follows. All "
145 "values, including 0, are ignored if the verification mode is "
146 "B<SSL_VERIFY_NONE>. Otherwise, when the return value is less than or equal "
147 "to 0, the handshake will fail."
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable
152 msgid ""
153 "In client mode I<callback> may also call the B<SSL_set_retry_verify>\\|(3) "
154 "function on the B<SSL> object set in the I<x509_store_ctx> ex data (see "
155 "\\&B<SSL_get_ex_data_X509_STORE_CTX_idx>\\|(3)) and return 1. This would be "
156 "typically done in case the certificate verification was not yet able to "
157 "succeed. This makes the handshake suspend and return control to the calling "
158 "application with B<SSL_ERROR_WANT_RETRY_VERIFY>. The app can for instance "
159 "fetch further certificates or cert status information needed for the "
160 "verification. Calling B<SSL_connect>\\|(3) again resumes the connection "
161 "attempt by retrying the server certificate verification step. This process "
162 "may even be repeated if need be."
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux
167 msgid ""
168 "In any case a viable verification result value must be reflected in the "
169 "B<error> member of I<x509_store_ctx>, which can be done using "
170 "B<X509_STORE_CTX_set_error>\\|(3). This is particularly important in case "
171 "the I<callback> allows the connection to continue (by returning 1). Note "
172 "that the verification status in the store context is a possibly durable "
173 "indication of the chain\\*(Aqs validity! This gets recorded in the SSL "
174 "session (and thus also in session tickets) and the validity of the "
175 "originally presented chain is then visible on resumption, even though no "
176 "chain is presented int that case. Moreover, the calling application will be "
177 "informed about the detailed result of the verification procedure and may "
178 "elect to base further decisions on it."
179 msgstr ""
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable
183 msgid ""
184 "\\&I<callback> may call B<X509_verify_cert>\\|(3) to run the built-in "
185 "verification function. This may be useful if application wishes to "
186 "dynamically reconfigure \\&I<x509_store_ctx> before verification, or "
187 "postprocess the result. In this case, \\&B<X509_verify_cert>\\|(3) will set "
188 "the B<error> member as described above."
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable
193 msgid ""
194 "Within I<x509_store_ctx>, I<callback> has access to the I<verify_callback> "
195 "function set using B<SSL_CTX_set_verify>\\|(3)."
196 msgstr ""
197
198 #. type: IX
199 #: archlinux debian-trixie debian-unstable
200 #, no-wrap
201 msgid "RETURN VALUES"
202 msgstr ""
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable
206 msgid "\\&B<SSL_CTX_set_cert_verify_callback()> does not return a value."
207 msgstr ""
208
209 #. type: IX
210 #: archlinux debian-trixie debian-unstable
211 #, no-wrap
212 msgid "WARNINGS"
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable
217 msgid ""
218 "Do not mix the verification callback described in this function with the "
219 "\\&B<verify_callback> function called during the verification process. The "
220 "latter is set using the B<SSL_CTX_set_verify>\\|(3) family of functions."
221 msgstr ""
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable
225 msgid ""
226 "Providing a complete verification procedure including certificate purpose "
227 "settings etc is a complex task. The built-in procedure is quite powerful and "
228 "in most cases it should be sufficient to modify its behaviour using the "
229 "B<verify_callback> function."
230 msgstr ""
231
232 #. type: IX
233 #: archlinux debian-trixie debian-unstable
234 #, no-wrap
235 msgid "BUGS"
236 msgstr ""
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable
240 msgid ""
241 "\\&B<SSL_CTX_set_cert_verify_callback()> does not provide diagnostic "
242 "information."
243 msgstr ""
244
245 #. type: IX
246 #: archlinux debian-trixie debian-unstable
247 #, no-wrap
248 msgid "SEE ALSO"
249 msgstr ""
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable
253 msgid ""
254 "\\&B<ssl>\\|(7), B<SSL_CTX_set_verify>\\|(3), "
255 "\\&B<X509_STORE_CTX_set_error>\\|(3), \\&B<SSL_get_verify_result>\\|(3), "
256 "\\&B<SSL_set_retry_verify>\\|(3), \\&B<SSL_CTX_load_verify_locations>\\|(3)"
257 msgstr ""
258
259 #. type: IX
260 #: archlinux debian-trixie debian-unstable
261 #, no-wrap
262 msgid "COPYRIGHT"
263 msgstr ""
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable
267 msgid "Copyright 2001-2022 The OpenSSL Project Authors. All Rights Reserved."
268 msgstr ""
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable
272 msgid ""
273 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
274 "this file except in compliance with the License. You can obtain a copy in "
275 "the file LICENSE in the source distribution or at E<lt>https://"
276 "www.openssl.org/source/license.htmlE<gt>."
277 msgstr ""
278
279 #. ========================================================================
280 #. type: IX
281 #: debian-trixie debian-unstable
282 #, no-wrap
283 msgid "SSL_CTX_SET_CERT_VERIFY_CALLBACK 3SSL"
284 msgstr ""
285
286 #. type: TH
287 #: debian-trixie
288 #, no-wrap
289 msgid "3.5.6"
290 msgstr ""
291
292 #. type: Plain text
293 #: debian-trixie debian-unstable
294 msgid ""
295 "In any case a viable verification result value must be reflected in the "
296 "B<error> member of I<x509_store_ctx>, which can be done using "
297 "B<X509_STORE_CTX_set_error>\\|(3). This is particularly important in case "
298 "the I<callback> allows the connection to continue (by returning 1). Note "
299 "that the verification status in the store context is a possibly durable "
300 "indication of the chain's validity! This gets recorded in the SSL session "
301 "(and thus also in session tickets) and the validity of the originally "
302 "presented chain is then visible on resumption, even though no chain is "
303 "presented int that case. Moreover, the calling application will be informed "
304 "about the detailed result of the verification procedure and may elect to "
305 "base further decisions on it."
306 msgstr ""