Debian Codegraph @

po/ar/man3/X509_STORE_CTX_set_verify_cb.3ssl.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:51+0200\n"
9 "PO-Revision-Date: 2026-06-03 18:55+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\n"
19
20 # #-#-#-#-# archlinux: X509_STORE_CTX_set_verify_cb.3ssl.pot (PACKAGE
21 # VERSION) #-#-#-#-#
22 #
23 #. #-#-#-#-# archlinux: X509_STORE_CTX_set_verify_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
24 #. Required to disable full justification in groff 1.23.0.
25 #. ========================================================================
26 #. type: IX
27 #. #-#-#-#-# debian-trixie: X509_STORE_CTX_set_verify_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
28 #. ========================================================================
29 #. type: IX
30 #. #-#-#-#-# debian-unstable: X509_STORE_CTX_set_verify_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
31 #. ========================================================================
32 #. type: IX
33 #: archlinux debian-trixie debian-unstable
34 #, no-wrap
35 msgid "Title"
36 msgstr "Title"
37
38 #. Required to disable full justification in groff 1.23.0.
39 #. ========================================================================
40 #. type: IX
41 #: archlinux
42 #, no-wrap
43 msgid "X509_STORE_CTX_SET_VERIFY_CB 3ssl"
44 msgstr "X509_STORE_CTX_SET_VERIFY_CB 3ssl"
45
46 #. type: TH
47 #: archlinux debian-trixie debian-unstable
48 #, no-wrap
49 msgid "X509_STORE_CTX_SET_VERIFY_CB"
50 msgstr "X509_STORE_CTX_SET_VERIFY_CB"
51
52 #. type: TH
53 #: archlinux debian-trixie debian-unstable
54 #, no-wrap
55 msgid "2026-04-07"
56 msgstr "7 أبريل 2026"
57
58 #. type: TH
59 #: archlinux debian-unstable
60 #, no-wrap
61 msgid "3.6.2"
62 msgstr "3.6.2"
63
64 #. type: TH
65 #: archlinux debian-trixie debian-unstable
66 #, no-wrap
67 msgid "OpenSSL"
68 msgstr "OpenSSL"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable
72 #, no-wrap
73 msgid "NAME"
74 msgstr "الاسم"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable
78 msgid ""
79 "X509_STORE_CTX_get_cleanup, X509_STORE_CTX_get_lookup_crls, "
80 "X509_STORE_CTX_get_lookup_certs, X509_STORE_CTX_get_check_policy, "
81 "X509_STORE_CTX_get_cert_crl, X509_STORE_CTX_get_check_crl, "
82 "X509_STORE_CTX_get_get_crl, X509_STORE_CTX_set_get_crl, "
83 "X509_STORE_CTX_get_check_revocation, X509_STORE_CTX_get_check_issued, "
84 "X509_STORE_CTX_get_get_issuer, X509_STORE_CTX_get_verify_cb, "
85 "X509_STORE_CTX_set_verify_cb, X509_STORE_CTX_verify_cb, "
86 "X509_STORE_CTX_print_verify_cb, X509_STORE_CTX_set_current_reasons \\&- get "
87 "and set X509_STORE_CTX components such as verification callback"
88 msgstr ""
89 "X509_STORE_CTX_get_cleanup, X509_STORE_CTX_get_lookup_crls, "
90 "X509_STORE_CTX_get_lookup_certs, X509_STORE_CTX_get_check_policy, "
91 "X509_STORE_CTX_get_cert_crl, X509_STORE_CTX_get_check_crl, "
92 "X509_STORE_CTX_get_get_crl, X509_STORE_CTX_set_get_crl, "
93 "X509_STORE_CTX_get_check_revocation, X509_STORE_CTX_get_check_issued, "
94 "X509_STORE_CTX_get_get_issuer, X509_STORE_CTX_get_verify_cb, "
95 "X509_STORE_CTX_set_verify_cb, X509_STORE_CTX_verify_cb, "
96 "X509_STORE_CTX_print_verify_cb, X509_STORE_CTX_set_current_reasons \\&- "
97 "الحصول على مكونات X509_STORE_CTX وتعيينها، مثل رد الاتصال للتحقق."
98
99 #. type: IX
100 #: archlinux debian-trixie debian-unstable
101 #, no-wrap
102 msgid "SYNOPSIS"
103 msgstr "موجز"
104
105 #. type: IX
106 #: archlinux debian-trixie debian-unstable
107 #, no-wrap
108 msgid "Header"
109 msgstr "Header"
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable
113 #, no-wrap
114 msgid ""
115 "\\& #include E<lt>openssl/x509_vfy.hE<gt>\n"
116 "\\&\n"
117 "\\& typedef int (*X509_STORE_CTX_verify_cb)(int, X509_STORE_CTX *);\n"
118 "\\& int X509_STORE_CTX_print_verify_cb(int ok, X509_STORE_CTX *ctx);\n"
119 "\\&\n"
120 "\\& X509_STORE_CTX_verify_cb X509_STORE_CTX_get_verify_cb(X509_STORE_CTX *ctx);\n"
121 "\\&\n"
122 "\\& void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx,\n"
123 "\\& X509_STORE_CTX_verify_cb verify_cb);\n"
124 "\\&\n"
125 "\\& X509_STORE_CTX_get_issuer_fn X509_STORE_CTX_get_get_issuer(X509_STORE_CTX *ctx);\n"
126 "\\& X509_STORE_CTX_check_issued_fn X509_STORE_CTX_get_check_issued(X509_STORE_CTX *ctx);\n"
127 "\\& X509_STORE_CTX_check_revocation_fn X509_STORE_CTX_get_check_revocation(X509_STORE_CTX *ctx);\n"
128 "\\&\n"
129 "\\& X509_STORE_CTX_get_crl_fn X509_STORE_CTX_get_get_crl(X509_STORE_CTX *ctx);\n"
130 "\\&\n"
131 "\\& void X509_STORE_CTX_set_get_crl(X509_STORE_CTX *ctx,\n"
132 "\\& X509_STORE_CTX_get_crl_fn get_crl);\n"
133 "\\&\n"
134 "\\& X509_STORE_CTX_check_crl_fn X509_STORE_CTX_get_check_crl(X509_STORE_CTX *ctx);\n"
135 "\\& X509_STORE_CTX_cert_crl_fn X509_STORE_CTX_get_cert_crl(X509_STORE_CTX *ctx);\n"
136 "\\& X509_STORE_CTX_check_policy_fn X509_STORE_CTX_get_check_policy(X509_STORE_CTX *ctx);\n"
137 "\\& X509_STORE_CTX_lookup_certs_fn X509_STORE_CTX_get_lookup_certs(X509_STORE_CTX *ctx);\n"
138 "\\& X509_STORE_CTX_lookup_crls_fn X509_STORE_CTX_get_lookup_crls(X509_STORE_CTX *ctx);\n"
139 "\\& X509_STORE_CTX_cleanup_fn X509_STORE_CTX_get_cleanup(X509_STORE_CTX *ctx);\n"
140 "\\& void X509_STORE_CTX_set_current_reasons(X509_STORE_CTX *ctx,\n"
141 "\\& unsigned int current_reasons);\n"
142 msgstr ""
143 "\\& #include E<lt>openssl/x509_vfy.hE<gt>\n"
144 "\\&\n"
145 "\\& typedef int (*X509_STORE_CTX_verify_cb)(int, X509_STORE_CTX *);\n"
146 "\\& int X509_STORE_CTX_print_verify_cb(int ok, X509_STORE_CTX *ctx);\n"
147 "\\&\n"
148 "\\& X509_STORE_CTX_verify_cb X509_STORE_CTX_get_verify_cb(X509_STORE_CTX *ctx);\n"
149 "\\&\n"
150 "\\& void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx,\n"
151 "\\& X509_STORE_CTX_verify_cb verify_cb);\n"
152 "\\&\n"
153 "\\& X509_STORE_CTX_get_issuer_fn X509_STORE_CTX_get_get_issuer(X509_STORE_CTX *ctx);\n"
154 "\\& X509_STORE_CTX_check_issued_fn X509_STORE_CTX_get_check_issued(X509_STORE_CTX *ctx);\n"
155 "\\& X509_STORE_CTX_check_revocation_fn X509_STORE_CTX_get_check_revocation(X509_STORE_CTX *ctx);\n"
156 "\\&\n"
157 "\\& X509_STORE_CTX_get_crl_fn X509_STORE_CTX_get_get_crl(X509_STORE_CTX *ctx);\n"
158 "\\&\n"
159 "\\& void X509_STORE_CTX_set_get_crl(X509_STORE_CTX *ctx,\n"
160 "\\& X509_STORE_CTX_get_crl_fn get_crl);\n"
161 "\\&\n"
162 "\\& X509_STORE_CTX_check_crl_fn X509_STORE_CTX_get_check_crl(X509_STORE_CTX *ctx);\n"
163 "\\& X509_STORE_CTX_cert_crl_fn X509_STORE_CTX_get_cert_crl(X509_STORE_CTX *ctx);\n"
164 "\\& X509_STORE_CTX_check_policy_fn X509_STORE_CTX_get_check_policy(X509_STORE_CTX *ctx);\n"
165 "\\& X509_STORE_CTX_lookup_certs_fn X509_STORE_CTX_get_lookup_certs(X509_STORE_CTX *ctx);\n"
166 "\\& X509_STORE_CTX_lookup_crls_fn X509_STORE_CTX_get_lookup_crls(X509_STORE_CTX *ctx);\n"
167 "\\& X509_STORE_CTX_cleanup_fn X509_STORE_CTX_get_cleanup(X509_STORE_CTX *ctx);\n"
168 "\\& void X509_STORE_CTX_set_current_reasons(X509_STORE_CTX *ctx,\n"
169 "\\& unsigned int current_reasons);\n"
170
171 #. type: IX
172 #: archlinux debian-trixie debian-unstable
173 #, no-wrap
174 msgid "DESCRIPTION"
175 msgstr "الوصف"
176
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable
179 msgid ""
180 "\\&B<X509_STORE_CTX_set_verify_cb()> sets the verification callback of "
181 "B<ctx> to \\&B<verify_cb> overwriting any existing callback."
182 msgstr ""
183 "\\&B<X509_STORE_CTX_set_verify_cb()> تعيّن دالة استرجاع التحقق لـ B<ctx> إلى "
184 "\\&B<verify_cb> مع استبدال أي دالة استرجاع موجودة."
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable
188 msgid ""
189 "The verification callback can be used to customise the operation of "
190 "certificate verification, for instance by overriding error conditions or "
191 "logging errors for debugging purposes."
192 msgstr ""
193 "يمكن استخدام دالة استرجاع التحقق لتخصيص عملية التحقق من الشهادة، على سبيل "
194 "المثال عن طريق تجاوز شروط الخطأ أو تسجيل الأخطاء لأغراض التصحيح."
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable
198 msgid ""
199 "However, a verification callback is B<not> essential and the default "
200 "operation is often sufficient."
201 msgstr ""
202 "ومع ذلك، فإن دالة استرجاع التحقق B<ليست> أساسية وغالبًا ما تكون العملية "
203 "المبدئية كافية."
204
205 #. type: Plain text
206 #: archlinux debian-trixie debian-unstable
207 msgid ""
208 "The B<ok> parameter to the callback indicates the value the callback should "
209 "return to retain the default behaviour. If it is zero then an error "
210 "condition is indicated. If it is 1 then no error occurred. If the flag "
211 "\\&B<X509_V_FLAG_NOTIFY_POLICY> is set then B<ok> is set to 2 to indicate "
212 "the policy checking is complete."
213 msgstr ""
214 "يشير المعامل B<ok> إلى القيمة التي يجب أن تُرجعها دالة الاسترجاع للحفاظ على "
215 "السلوك المبدئي. إذا كانت صفرًا، يُشار إلى حالة خطأ. إذا كانت 1، لم يحدث خطأ. "
216 "إذا وُضعت العلامة \\&B<X509_V_FLAG_NOTIFY_POLICY>، فتُعيّن B<ok> إلى 2 للإشارة "
217 "إلى اكتمال فحص السياسة."
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable
221 msgid ""
222 "The B<ctx> parameter to the callback is the B<X509_STORE_CTX> structure that "
223 "is performing the verification operation. A callback can examine this "
224 "structure and receive additional information about the error, for example by "
225 "calling B<X509_STORE_CTX_get_current_cert()>. Additional application data "
226 "can be passed to the callback via the B<ex_data> mechanism."
227 msgstr ""
228 "المعامل B<ctx> لدالة الاسترجاع هو بنية B<X509_STORE_CTX> التي تنفذ عملية "
229 "التحقق. يمكن لدالة الاسترجاع فحص هذه البنية واستلام معلومات إضافية حول "
230 "الخطأ، على سبيل المثال عن طريق استدعاء B<X509_STORE_CTX_get_current_cert()>. "
231 "يمكن تمرير بيانات تطبيق إضافية إلى دالة الاسترجاع عبر آلية B<ex_data>."
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable
235 msgid ""
236 "\\&B<X509_STORE_CTX_print_verify_cb()> is a verification callback function "
237 "that, when a certificate verification has failed, adds an entry to the error "
238 "queue with code B<X509_R_CERTIFICATE_VERIFICATION_FAILED> and with "
239 "diagnostic details, including the most relevant fields of the target "
240 "certificate that failed to verify and, if appropriate, of the available "
241 "untrusted and trusted certificates."
242 msgstr ""
243 "\\&B<X509_STORE_CTX_print_verify_cb()> هي دالة استرجاع تحقق، عندما يفشل "
244 "التحقق من الشهادة، تُضيف إدخالاً إلى قائمة انتظار الأخطاء بالرمز "
245 "B<X509_R_CERTIFICATE_VERIFICATION_FAILED> مع تفاصيل تشخيصية، بما في ذلك "
246 "الحقول الأكثر صلة بالشهادة الهدف التي فشل التحقق منها، وإذا كان مناسبًا، "
247 "للشهادات غير الموثوقة والموثوقة المتاحة."
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable
251 msgid ""
252 "\\&B<X509_STORE_CTX_get_verify_cb()> returns the value of the current "
253 "callback for the specific B<ctx>."
254 msgstr ""
255 "\\&B<X509_STORE_CTX_get_verify_cb()> تُرجع قيمة دالة الاسترجاع الحالية لـ "
256 "B<ctx> المحدد."
257
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable
260 msgid ""
261 "\\&B<X509_STORE_CTX_get_get_issuer()>, "
262 "\\&B<X509_STORE_CTX_get_check_issued()>, "
263 "B<X509_STORE_CTX_get_check_revocation()>, "
264 "\\&B<X509_STORE_CTX_get_get_crl()>, B<X509_STORE_CTX_get_check_crl()>, "
265 "\\&B<X509_STORE_CTX_get_cert_crl()>, B<X509_STORE_CTX_get_check_policy()>, "
266 "\\&B<X509_STORE_CTX_get_lookup_certs()>, B<X509_STORE_CTX_get_lookup_crls()> "
267 "and B<X509_STORE_CTX_get_cleanup()> return the function pointers cached from "
268 "the corresponding B<X509_STORE>, please see \\&B<X509_STORE_set_verify>\\|"
269 "(3) for more information."
270 msgstr ""
271 "\\&B<X509_STORE_CTX_get_get_issuer()>، "
272 "\\&B<X509_STORE_CTX_get_check_issued()>، "
273 "B<X509_STORE_CTX_get_check_revocation()>، "
274 "\\&B<X509_STORE_CTX_get_get_crl()>، B<X509_STORE_CTX_get_check_crl()>، "
275 "\\&B<X509_STORE_CTX_get_cert_crl()>، B<X509_STORE_CTX_get_check_policy()>، "
276 "\\&B<X509_STORE_CTX_get_lookup_certs()>، B<X509_STORE_CTX_get_lookup_crls()> "
277 "و B<X509_STORE_CTX_get_cleanup()> تُرجع مؤشرات الدوال المخبأة من "
278 "B<X509_STORE> المقابل، يُرجى الاطلاع على \\&B<X509_STORE_set_verify>\\|(3) "
279 "لمزيد من المعلومات."
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable
283 msgid ""
284 "\\&B<X509_STORE_CTX_set_get_crl()> sets the function to get the crl for a "
285 "given certificate I<x>. When found, the crl must be assigned to I<*crl>. "
286 "This function must return 0 on failure and 1 on success. \\&I<If no "
287 "function to get the issuer is provided, the internal default function will "
288 "be used instead.>"
289 msgstr ""
290 "\\&B<X509_STORE_CTX_set_get_crl()> تعيّن الدالة للحصول على crl لشهادة معينة "
291 "I<x>. عند العثور عليها، يجب تعيين crl إلى I<*crl>. يجب أن تُرجع هذه الدالة 0 "
292 "عند الفشل و1 عند النجاح. \\&I<إذا لم تُوفّر دالة للحصول على المُصدِر، فستُستخدم "
293 "الدالة المبدئية الداخلية بدلاً من ذلك.>"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable
297 msgid ""
298 "\\&B<X509_STORE_CTX_set_current_reasons()> is used in conjunction with "
299 "X509_STORE_CTX_get_crl_fn. The X509_STORE_CTX_get_crl_fn callback must use "
300 "this method to set the reason why the certificate is invalid."
301 msgstr ""
302 "\\&B<X509_STORE_CTX_set_current_reasons()> تُستخدم بالتزامن مع "
303 "X509_STORE_CTX_get_crl_fn. يجب أن تستخدم دالة الاسترجاع "
304 "X509_STORE_CTX_get_crl_fn هذه الطريقة لتعيين سبب كون الشهادة غير صالحة."
305
306 #. type: IX
307 #: archlinux debian-trixie debian-unstable
308 #, no-wrap
309 msgid "WARNINGS"
310 msgstr "تحذيرات"
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable
314 msgid ""
315 "In general a verification callback should B<NOT> unconditionally return 1 in "
316 "all circumstances because this will allow verification to succeed no matter "
317 "what the error. This effectively removes all security from the application "
318 "because B<any> certificate (including untrusted generated ones) will be "
319 "accepted."
320 msgstr ""
321 "بشكل عام، يجب B<ألا> تُرجع دالة استرجاع التحقق 1 بشكل غير مشروط في جميع "
322 "الظروف لأن هذا سيسمح بنجاح التحقق بغض النظر عن الخطأ. هذا يزيل فعليًا كل "
323 "الأمان من التطبيق لأنه B<أي> شهادة (بما في ذلك الشهادات المولدة غير "
324 "الموثوقة) ستُقبل."
325
326 #. type: IX
327 #: archlinux debian-trixie debian-unstable
328 #, no-wrap
329 msgid "NOTES"
330 msgstr "ملاحظات"
331
332 #. type: Plain text
333 #: archlinux debian-trixie debian-unstable
334 msgid ""
335 "The verification callback can be set and inherited from the parent structure "
336 "performing the operation. In some cases (such as S/MIME verification) the "
337 "\\&B<X509_STORE_CTX> structure is created and destroyed internally and the "
338 "only way to set a custom verification callback is by inheriting it from the "
339 "associated B<X509_STORE>."
340 msgstr ""
341 "يمكن تعيين دالة استرجاع التحقق وتوريثها من البنية الأصلية التي تنفذ العملية. "
342 "في بعض الحالات (مثل التحقق من S/MIME)، تُنشأ بنية \\&B<X509_STORE_CTX> وتُدمر "
343 "داخليًا، والطريقة الوحيدة لتعيين دالة استرجاع تحقق مخصصة هي عن طريق توريثها "
344 "من B<X509_STORE> المرتبط."
345
346 #. type: IX
347 #: archlinux debian-trixie debian-unstable
348 #, no-wrap
349 msgid "RETURN VALUES"
350 msgstr "القيم المُرجعة"
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable
354 msgid "\\&B<X509_STORE_CTX_set_verify_cb()> does not return a value."
355 msgstr "\\&B<X509_STORE_CTX_set_verify_cb()> لا تُرجع قيمة."
356
357 #. type: IX
358 #: archlinux debian-trixie debian-unstable
359 #, no-wrap
360 msgid "EXAMPLES"
361 msgstr "أمثلة"
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable
365 msgid "Default callback operation:"
366 msgstr "عملية دالة الاسترجاع المبدئية:"
367
368 #. type: Plain text
369 #: archlinux debian-trixie debian-unstable
370 #, no-wrap
371 msgid ""
372 "\\& int verify_callback(int ok, X509_STORE_CTX *ctx) {\n"
373 "\\& return ok;\n"
374 "\\& }\n"
375 msgstr ""
376 "\\& int verify_callback(int ok, X509_STORE_CTX *ctx) {\n"
377 "\\& return ok;\n"
378 "\\& }\n"
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable
382 msgid ""
383 "Simple example, suppose a certificate in the chain is expired and we wish to "
384 "continue after this error:"
385 msgstr ""
386 "مثال بسيط، افترض أن شهادة في السلسلة منتهية الصلاحية ونرغب في الاستمرار بعد "
387 "هذا الخطأ:"
388
389 #. type: Plain text
390 #: archlinux debian-trixie debian-unstable
391 #, no-wrap
392 msgid ""
393 "\\& int verify_callback(int ok, X509_STORE_CTX *ctx) {\n"
394 "\\& /* Tolerate certificate expiration */\n"
395 "\\& if (X509_STORE_CTX_get_error(ctx) == X509_V_ERR_CERT_HAS_EXPIRED)\n"
396 "\\& return 1;\n"
397 "\\& /* Otherwise don\\*(Aqt override */\n"
398 "\\& return ok;\n"
399 "\\& }\n"
400 msgstr ""
401 "\\& int verify_callback(int ok, X509_STORE_CTX *ctx) {\n"
402 "\\& /* Tolerate certificate expiration */\n"
403 "\\& if (X509_STORE_CTX_get_error(ctx) == X509_V_ERR_CERT_HAS_EXPIRED)\n"
404 "\\& return 1;\n"
405 "\\& /* Otherwise don\\*(Aqt override */\n"
406 "\\& return ok;\n"
407 "\\& }\n"
408
409 #. type: Plain text
410 #: archlinux
411 msgid ""
412 "More complex example, we don\\*(Aqt wish to continue after B<any> "
413 "certificate has expired just one specific case:"
414 msgstr ""
415 "مثال أكثر تعقيدًا، لا نرغب في الاستمرار بعد انتهاء صلاحية B<أي> شهادة إلا في "
416 "حالة محددة واحدة:"
417
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable
420 #, no-wrap
421 msgid ""
422 "\\& int verify_callback(int ok, X509_STORE_CTX *ctx)\n"
423 "\\& {\n"
424 "\\& int err = X509_STORE_CTX_get_error(ctx);\n"
425 "\\& X509 *err_cert = X509_STORE_CTX_get_current_cert(ctx);\n"
426 "\\&\n"
427 "\\& if (err == X509_V_ERR_CERT_HAS_EXPIRED) {\n"
428 "\\& if (check_is_acceptable_expired_cert(err_cert)\n"
429 "\\& return 1;\n"
430 "\\& }\n"
431 "\\& return ok;\n"
432 "\\& }\n"
433 msgstr ""
434 "\\& int verify_callback(int ok, X509_STORE_CTX *ctx)\n"
435 "\\& {\n"
436 "\\& int err = X509_STORE_CTX_get_error(ctx);\n"
437 "\\& X509 *err_cert = X509_STORE_CTX_get_current_cert(ctx);\n"
438 "\\&\n"
439 "\\& if (err == X509_V_ERR_CERT_HAS_EXPIRED) {\n"
440 "\\& if (check_is_acceptable_expired_cert(err_cert)\n"
441 "\\& return 1;\n"
442 "\\& }\n"
443 "\\& return ok;\n"
444 "\\& }\n"
445
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable
448 msgid ""
449 "Full featured logging callback. In this case the B<bio_err> is assumed to be "
450 "a global logging B<BIO>, an alternative would to store a BIO in B<ctx> using "
451 "\\&B<ex_data>."
452 msgstr ""
453 "دالة رد اتصال تسجيل كاملة الميزات. في هذه الحالة، يُفترض أن B<bio_err> هو "
454 "B<BIO> تسجيل عام، وبديل ذلك هو تخزين BIO في B<ctx> باستخدام \\&B<ex_data>."
455
456 #. type: Plain text
457 #: archlinux debian-trixie debian-unstable
458 #, no-wrap
459 msgid ""
460 "\\& int verify_callback(int ok, X509_STORE_CTX *ctx)\n"
461 "\\& {\n"
462 "\\& X509 *err_cert;\n"
463 "\\& int err, depth;\n"
464 "\\&\n"
465 "\\& err_cert = X509_STORE_CTX_get_current_cert(ctx);\n"
466 "\\& err = X509_STORE_CTX_get_error(ctx);\n"
467 "\\& depth = X509_STORE_CTX_get_error_depth(ctx);\n"
468 "\\&\n"
469 "\\& BIO_printf(bio_err, \"depth=%d \", depth);\n"
470 "\\& if (err_cert) {\n"
471 "\\& X509_NAME_print_ex(bio_err, X509_get_subject_name(err_cert),\n"
472 "\\& 0, XN_FLAG_ONELINE);\n"
473 "\\& BIO_puts(bio_err, \"\\en\");\n"
474 "\\& }\n"
475 "\\& else\n"
476 "\\& BIO_puts(bio_err, \"E<lt>no certE<gt>\\en\");\n"
477 "\\& if (!ok)\n"
478 "\\& BIO_printf(bio_err, \"verify error:num=%d:%s\\en\", err,\n"
479 "\\& X509_verify_cert_error_string(err));\n"
480 "\\& switch (err) {\n"
481 "\\& case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT:\n"
482 "\\& BIO_puts(bio_err, \"issuer= \");\n"
483 "\\& X509_NAME_print_ex(bio_err, X509_get_issuer_name(err_cert),\n"
484 "\\& 0, XN_FLAG_ONELINE);\n"
485 "\\& BIO_puts(bio_err, \"\\en\");\n"
486 "\\& break;\n"
487 "\\& case X509_V_ERR_CERT_NOT_YET_VALID:\n"
488 "\\& case X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD:\n"
489 "\\& BIO_printf(bio_err, \"notBefore=\");\n"
490 "\\& ASN1_TIME_print(bio_err, X509_get_notBefore(err_cert));\n"
491 "\\& BIO_printf(bio_err, \"\\en\");\n"
492 "\\& break;\n"
493 "\\& case X509_V_ERR_CERT_HAS_EXPIRED:\n"
494 "\\& case X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD:\n"
495 "\\& BIO_printf(bio_err, \"notAfter=\");\n"
496 "\\& ASN1_TIME_print(bio_err, X509_get_notAfter(err_cert));\n"
497 "\\& BIO_printf(bio_err, \"\\en\");\n"
498 "\\& break;\n"
499 "\\& case X509_V_ERR_NO_EXPLICIT_POLICY:\n"
500 "\\& policies_print(bio_err, ctx);\n"
501 "\\& break;\n"
502 "\\& }\n"
503 "\\& if (err == X509_V_OK && ok == 2)\n"
504 "\\& /* print out policies */\n"
505 "\\&\n"
506 "\\& BIO_printf(bio_err, \"verify return:%d\\en\", ok);\n"
507 "\\& return(ok);\n"
508 "\\& }\n"
509 msgstr ""
510 "\\& int verify_callback(int ok, X509_STORE_CTX *ctx)\n"
511 "\\& {\n"
512 "\\& X509 *err_cert;\n"
513 "\\& int err, depth;\n"
514 "\\&\n"
515 "\\& err_cert = X509_STORE_CTX_get_current_cert(ctx);\n"
516 "\\& err = X509_STORE_CTX_get_error(ctx);\n"
517 "\\& depth = X509_STORE_CTX_get_error_depth(ctx);\n"
518 "\\&\n"
519 "\\& BIO_printf(bio_err, \"depth=%d \", depth);\n"
520 "\\& if (err_cert) {\n"
521 "\\& X509_NAME_print_ex(bio_err, X509_get_subject_name(err_cert),\n"
522 "\\& 0, XN_FLAG_ONELINE);\n"
523 "\\& BIO_puts(bio_err, \"\\en\");\n"
524 "\\& }\n"
525 "\\& else\n"
526 "\\& BIO_puts(bio_err, \"E<lt>no certE<gt>\\en\");\n"
527 "\\& if (!ok)\n"
528 "\\& BIO_printf(bio_err, \"verify error:num=%d:%s\\en\", err,\n"
529 "\\& X509_verify_cert_error_string(err));\n"
530 "\\& switch (err) {\n"
531 "\\& case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT:\n"
532 "\\& BIO_puts(bio_err, \"issuer= \");\n"
533 "\\& X509_NAME_print_ex(bio_err, X509_get_issuer_name(err_cert),\n"
534 "\\& 0, XN_FLAG_ONELINE);\n"
535 "\\& BIO_puts(bio_err, \"\\en\");\n"
536 "\\& break;\n"
537 "\\& case X509_V_ERR_CERT_NOT_YET_VALID:\n"
538 "\\& case X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD:\n"
539 "\\& BIO_printf(bio_err, \"notBefore=\");\n"
540 "\\& ASN1_TIME_print(bio_err, X509_get_notBefore(err_cert));\n"
541 "\\& BIO_printf(bio_err, \"\\en\");\n"
542 "\\& break;\n"
543 "\\& case X509_V_ERR_CERT_HAS_EXPIRED:\n"
544 "\\& case X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD:\n"
545 "\\& BIO_printf(bio_err, \"notAfter=\");\n"
546 "\\& ASN1_TIME_print(bio_err, X509_get_notAfter(err_cert));\n"
547 "\\& BIO_printf(bio_err, \"\\en\");\n"
548 "\\& break;\n"
549 "\\& case X509_V_ERR_NO_EXPLICIT_POLICY:\n"
550 "\\& policies_print(bio_err, ctx);\n"
551 "\\& break;\n"
552 "\\& }\n"
553 "\\& if (err == X509_V_OK && ok == 2)\n"
554 "\\& /* print out policies */\n"
555 "\\&\n"
556 "\\& BIO_printf(bio_err, \"verify return:%d\\en\", ok);\n"
557 "\\& return(ok);\n"
558 "\\& }\n"
559
560 #. type: IX
561 #: archlinux debian-trixie debian-unstable
562 #, no-wrap
563 msgid "SEE ALSO"
564 msgstr "انظر أيضًا"
565
566 #. type: Plain text
567 #: archlinux debian-trixie debian-unstable
568 msgid ""
569 "\\&B<X509_STORE_CTX_get_error>\\|(3) \\&B<X509_STORE_set_verify_cb_func>\\|"
570 "(3) \\&B<X509_STORE_CTX_get_ex_new_index>\\|(3)"
571 msgstr ""
572 "\\&B<X509_STORE_CTX_get_error>\\|(3) \\&B<X509_STORE_set_verify_cb_func>\\|"
573 "(3) \\&B<X509_STORE_CTX_get_ex_new_index>\\|(3)"
574
575 #. type: IX
576 #: archlinux debian-trixie debian-unstable
577 #, no-wrap
578 msgid "HISTORY"
579 msgstr "التاريخ"
580
581 #. type: Plain text
582 #: archlinux debian-trixie debian-unstable
583 msgid ""
584 "The \\&B<X509_STORE_CTX_get_get_issuer()>, "
585 "\\&B<X509_STORE_CTX_get_check_issued()>, "
586 "B<X509_STORE_CTX_get_check_revocation()>, "
587 "\\&B<X509_STORE_CTX_get_get_crl()>, B<X509_STORE_CTX_get_check_crl()>, "
588 "\\&B<X509_STORE_CTX_get_cert_crl()>, B<X509_STORE_CTX_get_check_policy()>, "
589 "\\&B<X509_STORE_CTX_get_lookup_certs()>, B<X509_STORE_CTX_get_lookup_crls()> "
590 "and B<X509_STORE_CTX_get_cleanup()> functions were added in OpenSSL 1.1.0."
591 msgstr ""
592 "الدوال \\&B<X509_STORE_CTX_get_get_issuer()>, "
593 "\\&B<X509_STORE_CTX_get_check_issued()>, "
594 "B<X509_STORE_CTX_get_check_revocation()>, "
595 "\\&B<X509_STORE_CTX_get_get_crl()>, B<X509_STORE_CTX_get_check_crl()>, "
596 "\\&B<X509_STORE_CTX_get_cert_crl()>, B<X509_STORE_CTX_get_check_policy()>, "
597 "\\&B<X509_STORE_CTX_get_lookup_certs()>, B<X509_STORE_CTX_get_lookup_crls()> "
598 "و B<X509_STORE_CTX_get_cleanup()> أُضيفت في OpenSSL 1.1.0."
599
600 #. type: Plain text
601 #: archlinux debian-trixie debian-unstable
602 msgid "\\&B<X509_STORE_CTX_print_verify_cb()> was added in OpenSSL 3.0."
603 msgstr "\\&B<X509_STORE_CTX_print_verify_cb()> أُضيفت في OpenSSL 3.0."
604
605 #. type: IX
606 #: archlinux debian-trixie debian-unstable
607 #, no-wrap
608 msgid "COPYRIGHT"
609 msgstr "حقوق النسخ"
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable
613 msgid "Copyright 2009-2023 The OpenSSL Project Authors. All Rights Reserved."
614 msgstr "حقوق النشر 2009-2023 لمؤلفي مشروع OpenSSL. جميع الحقوق محفوظة."
615
616 #. type: Plain text
617 #: archlinux debian-trixie debian-unstable
618 msgid ""
619 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
620 "this file except in compliance with the License. You can obtain a copy in "
621 "the file LICENSE in the source distribution or at E<lt>https://www.openssl."
622 "org/source/license.htmlE<gt>."
623 msgstr ""
624 "مرخص بموجب رخصة Apache 2.0 (المشار إليها فيما يلي بـ ”الرخصة“). لا يجوز لك "
625 "استخدام هذا الملف إلا وفقًا لشروط الرخصة. يمكنك الحصول على نسخة منها في "
626 "الملف LICENSE الموجود في حزمة التوزيع المصدرية أو على الرابط E<lt>https://"
627 "www.openssl.org/source/license.htmlE<gt>."
628
629 #. ========================================================================
630 #. type: IX
631 #: debian-trixie debian-unstable
632 #, no-wrap
633 msgid "X509_STORE_CTX_SET_VERIFY_CB 3SSL"
634 msgstr "X509_STORE_CTX_SET_VERIFY_CB 3SSL"
635
636 #. type: TH
637 #: debian-trixie
638 #, no-wrap
639 msgid "3.5.6"
640 msgstr "3.5.6"
641
642 #. type: Plain text
643 #: debian-trixie debian-unstable
644 msgid ""
645 "More complex example, we don't wish to continue after B<any> certificate has "
646 "expired just one specific case:"
647 msgstr ""
648 "مثال أكثر تعقيدًا، لا نرغب في الاستمرار بعد انتهاء صلاحية B<أي> شهادة إلا في "
649 "حالة محددة واحدة:"