Debian Codegraph @

po/ar/man3/EVP_PKEY_keygen.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:23+0200\n"
9 "PO-Revision-Date: 2026-06-01 17:46+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: EVP_PKEY_keygen.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
21 #
22 #. #-#-#-#-# archlinux: EVP_PKEY_keygen.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
23 #. Required to disable full justification in groff 1.23.0.
24 #. ========================================================================
25 #. type: IX
26 #. #-#-#-#-# debian-trixie: EVP_PKEY_keygen.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
27 #. ========================================================================
28 #. type: IX
29 #. #-#-#-#-# debian-unstable: EVP_PKEY_keygen.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
30 #. ========================================================================
31 #. type: IX
32 #: archlinux debian-trixie debian-unstable
33 #, no-wrap
34 msgid "Title"
35 msgstr "Title"
36
37 #. Required to disable full justification in groff 1.23.0.
38 #. ========================================================================
39 #. type: IX
40 #: archlinux
41 #, no-wrap
42 msgid "EVP_PKEY_KEYGEN 3ssl"
43 msgstr "EVP_PKEY_KEYGEN 3ssl"
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "EVP_PKEY_KEYGEN"
49 msgstr "EVP_PKEY_KEYGEN"
50
51 #. type: TH
52 #: archlinux debian-trixie debian-unstable
53 #, no-wrap
54 msgid "2026-04-07"
55 msgstr "7 أبريل 2026"
56
57 #. type: TH
58 #: archlinux debian-unstable
59 #, no-wrap
60 msgid "3.6.2"
61 msgstr "3.6.2"
62
63 #. type: TH
64 #: archlinux debian-trixie debian-unstable
65 #, no-wrap
66 msgid "OpenSSL"
67 msgstr "OpenSSL"
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 "EVP_PKEY_Q_keygen, EVP_PKEY_keygen_init, EVP_PKEY_paramgen_init, "
79 "EVP_PKEY_generate, EVP_PKEY_CTX_set_cb, EVP_PKEY_CTX_get_cb, "
80 "EVP_PKEY_CTX_get_keygen_info, EVP_PKEY_CTX_set_app_data, "
81 "EVP_PKEY_CTX_get_app_data, EVP_PKEY_gen_cb, EVP_PKEY_paramgen, "
82 "EVP_PKEY_keygen \\&- key and parameter generation and check functions"
83 msgstr ""
84 "EVP_PKEY_Q_keygen, EVP_PKEY_keygen_init, EVP_PKEY_paramgen_init, "
85 "EVP_PKEY_generate, EVP_PKEY_CTX_set_cb, EVP_PKEY_CTX_get_cb, "
86 "EVP_PKEY_CTX_get_keygen_info, EVP_PKEY_CTX_set_app_data, "
87 "EVP_PKEY_CTX_get_app_data, EVP_PKEY_gen_cb, EVP_PKEY_paramgen, "
88 "EVP_PKEY_keygen \\&- دوال توليد المفتاح والمعامل والتحقق"
89
90 #. type: IX
91 #: archlinux debian-trixie debian-unstable
92 #, no-wrap
93 msgid "SYNOPSIS"
94 msgstr "موجز"
95
96 #. type: IX
97 #: archlinux debian-trixie debian-unstable
98 #, no-wrap
99 msgid "Header"
100 msgstr "Header"
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable
104 #, no-wrap
105 msgid ""
106 "\\& #include E<lt>openssl/evp.hE<gt>\n"
107 "\\&\n"
108 "\\& EVP_PKEY *EVP_PKEY_Q_keygen(OSSL_LIB_CTX *libctx, const char *propq,\n"
109 "\\& const char *type, ...);\n"
110 "\\&\n"
111 "\\& int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx);\n"
112 "\\& int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx);\n"
113 "\\& int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);\n"
114 "\\& int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);\n"
115 "\\& int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);\n"
116 "\\&\n"
117 "\\& typedef int EVP_PKEY_gen_cb(EVP_PKEY_CTX *ctx);\n"
118 "\\&\n"
119 "\\& void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb);\n"
120 "\\& EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx);\n"
121 "\\&\n"
122 "\\& int EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ctx, int idx);\n"
123 "\\&\n"
124 "\\& void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx, void *data);\n"
125 "\\& void *EVP_PKEY_CTX_get_app_data(EVP_PKEY_CTX *ctx);\n"
126 msgstr ""
127 "\\& #include E<lt>openssl/evp.hE<gt>\n"
128 "\\&\n"
129 "\\& EVP_PKEY *EVP_PKEY_Q_keygen(OSSL_LIB_CTX *libctx, const char *propq,\n"
130 "\\& const char *type, ...);\n"
131 "\\&\n"
132 "\\& int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx);\n"
133 "\\& int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx);\n"
134 "\\& int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);\n"
135 "\\& int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);\n"
136 "\\& int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);\n"
137 "\\&\n"
138 "\\& typedef int EVP_PKEY_gen_cb(EVP_PKEY_CTX *ctx);\n"
139 "\\&\n"
140 "\\& void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb);\n"
141 "\\& EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx);\n"
142 "\\&\n"
143 "\\& int EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ctx, int idx);\n"
144 "\\&\n"
145 "\\& void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx, void *data);\n"
146 "\\& void *EVP_PKEY_CTX_get_app_data(EVP_PKEY_CTX *ctx);\n"
147
148 #. type: IX
149 #: archlinux debian-trixie debian-unstable
150 #, no-wrap
151 msgid "DESCRIPTION"
152 msgstr "الوصف"
153
154 #. type: Plain text
155 #: archlinux
156 msgid ""
157 "Generating keys is sometimes straight forward, just generate the key\\*(Aqs "
158 "numbers and be done with it. However, there are certain key types that need "
159 "key parameters, often called domain parameters but not necessarily limited "
160 "to that, that also need to be generated. In addition to this, the caller "
161 "may want to set user provided generation parameters that further affect key "
162 "parameter or key generation, such as the desired key size."
163 msgstr ""
164 "توليد المفاتيح يكون أحيانًا مباشرًا، فقط تُولَّد أرقام المفتاح وينتهي الأمر. لكن "
165 "هناك أنواع مفاتيح معينة تحتاج إلى معاملات مفتاح، تُسمى غالبًا معاملات نطاق لكن "
166 "لا تقتصر عليها، والتي تحتاج أيضًا إلى التوليد. بالإضافة إلى ذلك، قد يرغب "
167 "المستدعي في تعيين معاملات توليد يقدمها المستخدم تؤثر بشكل أكبر على معامل "
168 "المفتاح أو توليد المفتاح، مثل حجم المفتاح المطلوب."
169
170 #. type: Plain text
171 #: archlinux
172 msgid ""
173 "To flexibly allow all that\\*(Aqs just been described, key parameter and key "
174 "generation is divided into an initialization of a key algorithm context, "
175 "functions to set user provided parameters, and finally the key parameter or "
176 "key generation function itself."
177 msgstr ""
178 "للسماح بمرونة لكل ما وُصف للتو، يُقسم توليد معامل المفتاح والمفتاح إلى تهيئة "
179 "لسياق خوارزمية المفتاح، ودوال لتعيين المعاملات التي يقدمها المستخدم، وأخيرًا "
180 "دالة معامل المفتاح أو توليد المفتاح نفسها."
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable
184 msgid ""
185 "The key algorithm context must be created using B<EVP_PKEY_CTX_new>\\|(3) or "
186 "variants thereof, see that manual for details."
187 msgstr ""
188 "يجب إنشاء سياق خوارزمية المفتاح باستخدام B<EVP_PKEY_CTX_new>\\|(3) أو "
189 "متغيراتها، انظر ذلك الدليل للتفاصيل."
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable
193 msgid ""
194 "\\&B<EVP_PKEY_keygen_init()> initializes a public key algorithm context "
195 "I<ctx> for a key generation operation."
196 msgstr ""
197 "\\&B<EVP_PKEY_keygen_init()> تُهيئ سياق خوارزمية مفتاح عام I<ctx> لعملية "
198 "توليد مفتاح."
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable
202 msgid ""
203 "\\&B<EVP_PKEY_paramgen_init()> is similar to B<EVP_PKEY_keygen_init()> "
204 "except key parameters are generated."
205 msgstr ""
206 "\\&B<EVP_PKEY_paramgen_init()> مشابهة لـ B<EVP_PKEY_keygen_init()> باستثناء "
207 "أن معاملات المفتاح تُولَّد."
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable
211 msgid ""
212 "After initialization, generation parameters may be provided with "
213 "\\&B<EVP_PKEY_CTX_ctrl>\\|(3) or B<EVP_PKEY_CTX_set_params>\\|(3), or any "
214 "other function described in those manuals."
215 msgstr ""
216 "بعد التهيئة، يمكن تقديم معاملات التوليد باستخدام \\&B<EVP_PKEY_CTX_ctrl>\\|"
217 "(3) أو B<EVP_PKEY_CTX_set_params>\\|(3)، أو أي دالة أخرى موصوفة في تلك "
218 "الأدلة."
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable
222 msgid ""
223 "\\&B<EVP_PKEY_generate()> performs the generation operation, the resulting "
224 "key parameters or key are written to I<*ppkey>. If I<*ppkey> is NULL when "
225 "this function is called, it will be allocated, and should be freed by the "
226 "caller when no longer useful, using B<EVP_PKEY_free>\\|(3)."
227 msgstr ""
228 "\\&B<EVP_PKEY_generate()> تُنفذ عملية التوليد، وتُكتب معاملات المفتاح أو "
229 "المفتاح الناتج إلى I<*ppkey>. إذا كان I<*ppkey> NULL عند استدعاء هذه الدالة، "
230 "فسيُخصص، ويجب تحريره بواسطة المستدعي عندما لا يعود مفيدًا، باستخدام "
231 "B<EVP_PKEY_free>\\|(3)."
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable
235 msgid ""
236 "\\&B<EVP_PKEY_paramgen()> and B<EVP_PKEY_keygen()> do exactly the same thing "
237 "as \\&B<EVP_PKEY_generate()>, after checking that the corresponding "
238 "B<EVP_PKEY_paramgen_init()> or B<EVP_PKEY_keygen_init()> was used to "
239 "initialize I<ctx>. These are older functions that are kept for backward "
240 "compatibility. It is safe to use B<EVP_PKEY_generate()> instead."
241 msgstr ""
242 "\\&B<EVP_PKEY_paramgen()> و B<EVP_PKEY_keygen()> تفعلان نفس الشيء تمامًا مثل "
243 "\\&B<EVP_PKEY_generate()>، بعد التحقق من أن B<EVP_PKEY_paramgen_init()> أو "
244 "B<EVP_PKEY_keygen_init()> المقابلة استُخدمت لتهيئة I<ctx>. هذه دوال أقدم "
245 "محفوظة للتوافق مع الإصدارات السابقة. من الآمن استخدام B<EVP_PKEY_generate()> "
246 "بدلاً منها."
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable
250 msgid ""
251 "The function B<EVP_PKEY_set_cb()> sets the key or parameter generation "
252 "callback to I<cb>. The function B<EVP_PKEY_CTX_get_cb()> returns the key or "
253 "parameter generation callback."
254 msgstr ""
255 "الدالة B<EVP_PKEY_set_cb()> تعين استدعاء توليد المفتاح أو المعامل إلى I<cb>. "
256 "الدالة B<EVP_PKEY_CTX_get_cb()> تُرجع استدعاء توليد المفتاح أو المعامل."
257
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable
260 msgid ""
261 "The function B<EVP_PKEY_CTX_get_keygen_info()> returns parameters associated "
262 "with the generation operation. If I<idx> is -1 the total number of "
263 "parameters available is returned. Any non negative value returns the value "
264 "of that parameter. B<EVP_PKEY_CTX_gen_keygen_info()> with a nonnegative "
265 "value for \\&I<idx> should only be called within the generation callback."
266 msgstr ""
267 "الدالة B<EVP_PKEY_CTX_get_keygen_info()> تُرجع معاملات مرتبطة بعملية التوليد. "
268 "إذا كان I<idx> هو -1، يُعاد العدد الإجمالي للمعاملات المتاحة. أي قيمة غير "
269 "سالبة تُعيد قيمة ذلك المعامل. يجب استدعاء B<EVP_PKEY_CTX_gen_keygen_info()> "
270 "بقيمة غير سالبة لـ \\&I<idx> فقط داخل استدعاء التوليد."
271
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable
274 msgid ""
275 "If the callback returns 0 then the key generation operation is aborted and "
276 "an error occurs. This might occur during a time consuming operation where a "
277 "user clicks on a \"cancel\" button."
278 msgstr ""
279 "إذا أعاد الاستدعاء 0، فتُلغى عملية توليد المفتاح ويحدث خطأ. قد يحدث هذا أثناء "
280 "عملية تستغرق وقتًا حيث ينقر المستخدم على زر \"إلغاء\"."
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable
284 msgid ""
285 "The functions B<EVP_PKEY_CTX_set_app_data()> and "
286 "B<EVP_PKEY_CTX_get_app_data()> associate an opaque, application-defined "
287 "pointer with an EVP_PKEY_CTX object."
288 msgstr ""
289 "الدالتان B<EVP_PKEY_CTX_set_app_data()> و B<EVP_PKEY_CTX_get_app_data()> "
290 "تربطان مؤشرًا معتمًا محددًا من التطبيق بكائن EVP_PKEY_CTX."
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable
294 msgid ""
295 "This pointer is not interpreted by the library and is reserved entirely for "
296 "use by the application. It may be used to store arbitrary context or state "
297 "that needs to be accessible wherever the corresponding EVP_PKEY_CTX is "
298 "available."
299 msgstr ""
300 "هذا المؤشر لا يُفسر بواسطة المكتبة وهو محجوز بالكامل لاستخدام التطبيق. قد "
301 "يُستخدم لتخزين سياق أو حالة عشوائية تحتاج إلى أن تكون قابلة للوصول أينما كان "
302 "EVP_PKEY_CTX المقابل متاحًا."
303
304 #. type: Plain text
305 #: archlinux
306 msgid ""
307 "\\&B<EVP_PKEY_Q_keygen()> abstracts from the explicit use of B<EVP_PKEY_CTX> "
308 "while providing a \\*(Aqquick\\*(Aq but limited way of generating a new "
309 "asymmetric key pair. It provides shorthands for simple and common cases of "
310 "key generation. As usual, the library context I<libctx> and property query "
311 "I<propq> can be given for fetching algorithms from providers. If I<type> is "
312 "CW<\\*(C`RSA\\*(C'>, a B<size_t> parameter must be given to specify the size "
313 "of the RSA key. If I<type> is CW<\\*(C`EC\\*(C'>, a string parameter must "
314 "be given to specify the name of the EC curve. If I<type> is: "
315 "\\&CW<\\*(C`ED25519\\*(C'>, \\&CW<\\*(C`ED448\\*(C'>, "
316 "\\&CW<\\*(C`SM2\\*(C'>, \\&CW<\\*(C`X25519\\*(C'>, \\&CW<\\*(C`X448\\*(C'>, "
317 "\\&CW<\\*(C`ML-DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, \\&CW<\\*(C`ML-"
318 "DSA-87\\*(C'>, \\&CW<\\*(C`ML-KEM-512\\*(C'>, \\&CW<\\*(C`ML-KEM-768\\*(C'>, "
319 "or \\&CW<\\*(C`ML-KEM-1024\\*(C'> no further parameters are needed. Other "
320 "key types may be possible if they are supplied by the loaded providers. "
321 "B<EVP_PKEY_Q_keygen()> may be usable with such key types as long as they do "
322 "not require further parameters."
323 msgstr ""
324 "\\&B<EVP_PKEY_Q_keygen()> تُجرد من الاستخدام الصريح لـ B<EVP_PKEY_CTX> مع "
325 "توفير طريقة \"سريعة\" لكن محدودة لتوليد زوج مفاتيح غير متماثل جديد. توفر "
326 "اختصارات للحالات البسيطة والشائعة لتوليد المفاتيح. كالمعتاد، يمكن تقديم سياق "
327 "المكتبة I<libctx> واستعلام الخاصية I<propq> لجلب الخوارزميات من المزودين. "
328 "إذا كان I<type> هو CW<\\*(C`RSA\\*(C'>، يجب تقديم معامل B<size_t> لتحديد حجم "
329 "مفتاح RSA. إذا كان I<type> هو CW<\\*(C`EC\\*(C'>، يجب تقديم معامل سلسلة "
330 "محارف لتحديد اسم منحنى EC. إذا كان I<type> هو: \\&CW<\\*(C`ED25519\\*(C'>, "
331 "\\&CW<\\*(C`ED448\\*(C'>, \\&CW<\\*(C`SM2\\*(C'>, \\&CW<\\*(C`X25519\\*(C'>, "
332 "\\&CW<\\*(C`X448\\*(C'>, \\&CW<\\*(C`ML-DSA-44\\*(C'>, \\&CW<\\*(C`ML-"
333 "DSA-65\\*(C'>, \\&CW<\\*(C`ML-DSA-87\\*(C'>, \\&CW<\\*(C`ML-KEM-512\\*(C'>, "
334 "\\&CW<\\*(C`ML-KEM-768\\*(C'>, أو \\&CW<\\*(C`ML-KEM-1024\\*(C'> فلا حاجة "
335 "لمعاملات إضافية. قد تكون أنواع مفاتيح أخرى ممكنة إذا قدمها المزودون "
336 "المحملون. قد تكون B<EVP_PKEY_Q_keygen()> قابلة للاستخدام مع أنواع المفاتيح "
337 "هذه طالما أنها لا تتطلب معاملات إضافية."
338
339 #. type: IX
340 #: archlinux debian-trixie debian-unstable
341 #, no-wrap
342 msgid "RETURN VALUES"
343 msgstr "القيم المُرجعة"
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable
347 msgid ""
348 "\\&B<EVP_PKEY_keygen_init()>, B<EVP_PKEY_paramgen_init()>, "
349 "B<EVP_PKEY_keygen()> and \\&B<EVP_PKEY_paramgen()> return 1 for success and "
350 "0 or a negative value for failure. In particular a return value of -2 "
351 "indicates the operation is not supported by the public key algorithm."
352 msgstr ""
353 "\\&B<EVP_PKEY_keygen_init()>, B<EVP_PKEY_paramgen_init()>, "
354 "B<EVP_PKEY_keygen()> و \\&B<EVP_PKEY_paramgen()> تُعيد 1 للنجاح و0 أو قيمة "
355 "سالبة للفشل. على وجه الخصوص، قيمة الإرجاع -2 تشير إلى أن العملية غير مدعومة "
356 "من خوارزمية المفتاح العام."
357
358 #. type: Plain text
359 #: archlinux debian-trixie debian-unstable
360 msgid "\\&B<EVP_PKEY_Q_keygen()> returns an B<EVP_PKEY>, or NULL on failure."
361 msgstr "\\&B<EVP_PKEY_Q_keygen()> تُعيد B<EVP_PKEY>، أو NULL عند الفشل."
362
363 #. type: IX
364 #: archlinux debian-trixie debian-unstable
365 #, no-wrap
366 msgid "NOTES"
367 msgstr "ملاحظات"
368
369 #. type: Plain text
370 #: archlinux debian-trixie debian-unstable
371 msgid ""
372 "After the call to B<EVP_PKEY_keygen_init()> or B<EVP_PKEY_paramgen_init()> "
373 "algorithm specific control operations can be performed to set any "
374 "appropriate parameters for the operation."
375 msgstr ""
376 "بعد استدعاء B<EVP_PKEY_keygen_init()> أو B<EVP_PKEY_paramgen_init()> يمكن "
377 "تنفيذ عمليات تحكم خاصة بالخوارزمية لتعيين أي معاملات مناسبة للعملية."
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable
381 msgid ""
382 "The functions B<EVP_PKEY_keygen()> and B<EVP_PKEY_paramgen()> can be called "
383 "more than once on the same context if several operations are performed using "
384 "the same parameters."
385 msgstr ""
386 "يمكن استدعاء الدالتين B<EVP_PKEY_keygen()> و B<EVP_PKEY_paramgen()> أكثر من "
387 "مرة على نفس السياق إذا نُفذت عدة عمليات باستخدام نفس المعاملات."
388
389 #. type: Plain text
390 #: archlinux debian-trixie debian-unstable
391 msgid ""
392 "The meaning of the parameters passed to the callback will depend on the "
393 "algorithm and the specific implementation of the algorithm. Some might not "
394 "give any useful information at all during key or parameter generation. "
395 "Others might not even call the callback."
396 msgstr ""
397 "يعتمد معنى المعاملات الممررة إلى رد النداء على الخوارزمية والتنفيذ المحدد "
398 "للخوارزمية. قد لا يعطي بعضها أي معلومات مفيدة على الإطلاق أثناء توليد "
399 "المفتاح أو المعامل. وقد لا يستدعي البعض الآخر رد النداء حتى."
400
401 #. type: Plain text
402 #: archlinux debian-trixie debian-unstable
403 msgid ""
404 "The operation performed by key or parameter generation depends on the "
405 "algorithm used. In some cases (e.g. EC with a supplied named curve) the "
406 "\"generation\" option merely sets the appropriate fields in an EVP_PKEY "
407 "structure."
408 msgstr ""
409 "تعتمد العملية التي ينفذها توليد المفتاح أو المعامل على الخوارزمية المستخدمة. "
410 "في بعض الحالات (مثل EC مع منحنى مسمى مزود) يحدد خيار \"التوليد\" الحقول "
411 "المناسبة في بنية EVP_PKEY فقط."
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable
415 msgid ""
416 "In OpenSSL an EVP_PKEY structure containing a private key also contains the "
417 "public key components and parameters (if any). An OpenSSL private key is "
418 "equivalent to what some libraries call a \"key pair\". A private key can be "
419 "used in functions which require the use of a public key or parameters."
420 msgstr ""
421 "في OpenSSL، تحتوي بنية EVP_PKEY التي تحتوي على مفتاح خاص أيضًا على مكونات "
422 "المفتاح العام والمعاملات (إن وجدت). المفتاح الخاص في OpenSSL يعادل ما تسميه "
423 "بعض المكتبات \"زوج مفاتيح\". يمكن استخدام المفتاح الخاص في دوال تتطلب "
424 "استخدام مفتاح عام أو معاملات."
425
426 #. type: IX
427 #: archlinux debian-trixie debian-unstable
428 #, no-wrap
429 msgid "EXAMPLES"
430 msgstr "أمثلة"
431
432 #. type: Plain text
433 #: archlinux debian-trixie debian-unstable
434 msgid "Generate a 2048 bit RSA key:"
435 msgstr "توليد مفتاح RSA بطول 2048 بت:"
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable
439 #, no-wrap
440 msgid ""
441 "\\& #include E<lt>openssl/evp.hE<gt>\n"
442 "\\& #include E<lt>openssl/rsa.hE<gt>\n"
443 "\\&\n"
444 "\\& EVP_PKEY_CTX *ctx;\n"
445 "\\& EVP_PKEY *pkey = NULL;\n"
446 "\\&\n"
447 "\\& ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA, NULL);\n"
448 "\\& if (!ctx)\n"
449 "\\& /* Error occurred */\n"
450 "\\& if (EVP_PKEY_keygen_init(ctx) E<lt>= 0)\n"
451 "\\& /* Error */\n"
452 "\\& if (EVP_PKEY_CTX_set_rsa_keygen_bits(ctx, 2048) E<lt>= 0)\n"
453 "\\& /* Error */\n"
454 "\\&\n"
455 "\\& /* Generate key */\n"
456 "\\& if (EVP_PKEY_keygen(ctx, &pkey) E<lt>= 0)\n"
457 "\\& /* Error */\n"
458 msgstr ""
459 "\\& #include E<lt>openssl/evp.hE<gt>\n"
460 "\\& #include E<lt>openssl/rsa.hE<gt>\n"
461 "\\&\n"
462 "\\& EVP_PKEY_CTX *ctx;\n"
463 "\\& EVP_PKEY *pkey = NULL;\n"
464 "\\&\n"
465 "\\& ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA, NULL);\n"
466 "\\& if (!ctx)\n"
467 "\\& /* Error occurred */\n"
468 "\\& if (EVP_PKEY_keygen_init(ctx) E<lt>= 0)\n"
469 "\\& /* Error */\n"
470 "\\& if (EVP_PKEY_CTX_set_rsa_keygen_bits(ctx, 2048) E<lt>= 0)\n"
471 "\\& /* Error */\n"
472 "\\&\n"
473 "\\& /* Generate key */\n"
474 "\\& if (EVP_PKEY_keygen(ctx, &pkey) E<lt>= 0)\n"
475 "\\& /* Error */\n"
476
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable
479 msgid "Generate a key from a set of parameters:"
480 msgstr "توليد مفتاح من مجموعة معاملات:"
481
482 #. type: Plain text
483 #: archlinux debian-trixie debian-unstable
484 #, no-wrap
485 msgid ""
486 "\\& #include E<lt>openssl/evp.hE<gt>\n"
487 "\\& #include E<lt>openssl/rsa.hE<gt>\n"
488 "\\&\n"
489 "\\& EVP_PKEY_CTX *ctx;\n"
490 "\\& ENGINE *eng;\n"
491 "\\& EVP_PKEY *pkey = NULL, *param;\n"
492 "\\&\n"
493 "\\& /* Assumed param, eng are set up already */\n"
494 "\\& ctx = EVP_PKEY_CTX_new(param, eng);\n"
495 "\\& if (!ctx)\n"
496 "\\& /* Error occurred */\n"
497 "\\& if (EVP_PKEY_keygen_init(ctx) E<lt>= 0)\n"
498 "\\& /* Error */\n"
499 "\\&\n"
500 "\\& /* Generate key */\n"
501 "\\& if (EVP_PKEY_keygen(ctx, &pkey) E<lt>= 0)\n"
502 "\\& /* Error */\n"
503 msgstr ""
504 "\\& #include E<lt>openssl/evp.hE<gt>\n"
505 "\\& #include E<lt>openssl/rsa.hE<gt>\n"
506 "\\&\n"
507 "\\& EVP_PKEY_CTX *ctx;\n"
508 "\\& ENGINE *eng;\n"
509 "\\& EVP_PKEY *pkey = NULL, *param;\n"
510 "\\&\n"
511 "\\& /* Assumed param, eng are set up already */\n"
512 "\\& ctx = EVP_PKEY_CTX_new(param, eng);\n"
513 "\\& if (!ctx)\n"
514 "\\& /* Error occurred */\n"
515 "\\& if (EVP_PKEY_keygen_init(ctx) E<lt>= 0)\n"
516 "\\& /* Error */\n"
517 "\\&\n"
518 "\\& /* Generate key */\n"
519 "\\& if (EVP_PKEY_keygen(ctx, &pkey) E<lt>= 0)\n"
520 "\\& /* Error */\n"
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable
524 msgid "Example of generation callback for OpenSSL public key implementations:"
525 msgstr "مثال لرد نداء التوليد لتنفيذات المفتاح العام في OpenSSL:"
526
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable
529 #, no-wrap
530 msgid ""
531 "\\& /* Application data is a BIO to output status to */\n"
532 "\\&\n"
533 "\\& EVP_PKEY_CTX_set_app_data(ctx, status_bio);\n"
534 "\\&\n"
535 "\\& static int genpkey_cb(EVP_PKEY_CTX *ctx)\n"
536 "\\& {\n"
537 "\\& char c = \\*(Aq*\\*(Aq;\n"
538 "\\& BIO *b = EVP_PKEY_CTX_get_app_data(ctx);\n"
539 "\\& int p = EVP_PKEY_CTX_get_keygen_info(ctx, 0);\n"
540 "\\&\n"
541 "\\& if (p == 0)\n"
542 "\\& c = \\*(Aq.\\*(Aq;\n"
543 "\\& if (p == 1)\n"
544 "\\& c = \\*(Aq+\\*(Aq;\n"
545 "\\& if (p == 2)\n"
546 "\\& c = \\*(Aq*\\*(Aq;\n"
547 "\\& if (p == 3)\n"
548 "\\& c = \\*(Aq\\en\\*(Aq;\n"
549 "\\& BIO_write(b, &c, 1);\n"
550 "\\& (void)BIO_flush(b);\n"
551 "\\& return 1;\n"
552 "\\& }\n"
553 msgstr ""
554 "\\& /* Application data is a BIO to output status to */\n"
555 "\\&\n"
556 "\\& EVP_PKEY_CTX_set_app_data(ctx, status_bio);\n"
557 "\\&\n"
558 "\\& static int genpkey_cb(EVP_PKEY_CTX *ctx)\n"
559 "\\& {\n"
560 "\\& char c = \\*(Aq*\\*(Aq;\n"
561 "\\& BIO *b = EVP_PKEY_CTX_get_app_data(ctx);\n"
562 "\\& int p = EVP_PKEY_CTX_get_keygen_info(ctx, 0);\n"
563 "\\&\n"
564 "\\& if (p == 0)\n"
565 "\\& c = \\*(Aq.\\*(Aq;\n"
566 "\\& if (p == 1)\n"
567 "\\& c = \\*(Aq+\\*(Aq;\n"
568 "\\& if (p == 2)\n"
569 "\\& c = \\*(Aq*\\*(Aq;\n"
570 "\\& if (p == 3)\n"
571 "\\& c = \\*(Aq\\en\\*(Aq;\n"
572 "\\& BIO_write(b, &c, 1);\n"
573 "\\& (void)BIO_flush(b);\n"
574 "\\& return 1;\n"
575 "\\& }\n"
576
577 #. type: IX
578 #: archlinux debian-trixie debian-unstable
579 #, no-wrap
580 msgid "SEE ALSO"
581 msgstr "انظر أيضًا"
582
583 #. type: Plain text
584 #: archlinux debian-trixie debian-unstable
585 msgid ""
586 "\\&B<EVP_RSA_gen>\\|(3), B<EVP_EC_gen>\\|(3), \\&B<EVP_PKEY_CTX_new>\\|(3), "
587 "\\&B<EVP_PKEY_encrypt>\\|(3), \\&B<EVP_PKEY_decrypt>\\|(3), "
588 "\\&B<EVP_PKEY_sign>\\|(3), \\&B<EVP_PKEY_verify>\\|(3), "
589 "\\&B<EVP_PKEY_verify_recover>\\|(3), \\&B<EVP_PKEY_derive>\\|(3)"
590 msgstr ""
591 "\\&B<EVP_RSA_gen>\\|(3), B<EVP_EC_gen>\\|(3), \\&B<EVP_PKEY_CTX_new>\\|(3), "
592 "\\&B<EVP_PKEY_encrypt>\\|(3), \\&B<EVP_PKEY_decrypt>\\|(3), "
593 "\\&B<EVP_PKEY_sign>\\|(3), \\&B<EVP_PKEY_verify>\\|(3), "
594 "\\&B<EVP_PKEY_verify_recover>\\|(3), \\&B<EVP_PKEY_derive>\\|(3)"
595
596 #. type: IX
597 #: archlinux debian-trixie debian-unstable
598 #, no-wrap
599 msgid "HISTORY"
600 msgstr "التاريخ"
601
602 #. type: Plain text
603 #: archlinux debian-trixie debian-unstable
604 msgid ""
605 "\\&B<EVP_PKEY_keygen_init()>, int B<EVP_PKEY_paramgen_init()>, "
606 "B<EVP_PKEY_keygen()>, \\&B<EVP_PKEY_paramgen()>, B<EVP_PKEY_gen_cb()>, "
607 "B<EVP_PKEY_CTX_set_cb()>, \\&B<EVP_PKEY_CTX_get_cb()>, "
608 "B<EVP_PKEY_CTX_get_keygen_info()>, \\&B<EVP_PKEY_CTX_set_app_data()> and "
609 "B<EVP_PKEY_CTX_get_app_data()> were added in OpenSSL 1.0.0."
610 msgstr ""
611 "\\&B<EVP_PKEY_keygen_init()>, int B<EVP_PKEY_paramgen_init()>, "
612 "B<EVP_PKEY_keygen()>, \\&B<EVP_PKEY_paramgen()>, B<EVP_PKEY_gen_cb()>, "
613 "B<EVP_PKEY_CTX_set_cb()>, \\&B<EVP_PKEY_CTX_get_cb()>, "
614 "B<EVP_PKEY_CTX_get_keygen_info()>, \\&B<EVP_PKEY_CTX_set_app_data()> و "
615 "B<EVP_PKEY_CTX_get_app_data()> أُضيفت في OpenSSL 1.0.0."
616
617 #. type: Plain text
618 #: archlinux debian-trixie debian-unstable
619 msgid ""
620 "\\&B<EVP_PKEY_Q_keygen()> and B<EVP_PKEY_generate()> were added in OpenSSL "
621 "3.0."
622 msgstr ""
623 "\\&B<EVP_PKEY_Q_keygen()> و B<EVP_PKEY_generate()> أُضيفتا في OpenSSL 3.0."
624
625 #. type: IX
626 #: archlinux debian-trixie debian-unstable
627 #, no-wrap
628 msgid "COPYRIGHT"
629 msgstr "حقوق النسخ"
630
631 #. type: Plain text
632 #: archlinux debian-trixie debian-unstable
633 msgid "Copyright 2006-2026 The OpenSSL Project Authors. All Rights Reserved."
634 msgstr "حقوق النشر 2006-2026 لمؤلفي مشروع OpenSSL. جميع الحقوق محفوظة."
635
636 #. type: Plain text
637 #: archlinux debian-trixie debian-unstable
638 msgid ""
639 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
640 "this file except in compliance with the License. You can obtain a copy in "
641 "the file LICENSE in the source distribution or at E<lt>https://www.openssl."
642 "org/source/license.htmlE<gt>."
643 msgstr ""
644 "مرخص بموجب رخصة Apache 2.0 (المشار إليها فيما يلي بـ ”الرخصة“). لا يجوز لك "
645 "استخدام هذا الملف إلا وفقًا لشروط الرخصة. يمكنك الحصول على نسخة منها في "
646 "الملف LICENSE الموجود في حزمة التوزيع المصدرية أو على الرابط E<lt>https://"
647 "www.openssl.org/source/license.htmlE<gt>."
648
649 #. ========================================================================
650 #. type: IX
651 #: debian-trixie debian-unstable
652 #, no-wrap
653 msgid "EVP_PKEY_KEYGEN 3SSL"
654 msgstr "EVP_PKEY_KEYGEN 3SSL"
655
656 #. type: TH
657 #: debian-trixie
658 #, no-wrap
659 msgid "3.5.6"
660 msgstr "3.5.6"
661
662 #. type: Plain text
663 #: debian-trixie debian-unstable
664 msgid ""
665 "Generating keys is sometimes straight forward, just generate the key's "
666 "numbers and be done with it. However, there are certain key types that need "
667 "key parameters, often called domain parameters but not necessarily limited "
668 "to that, that also need to be generated. In addition to this, the caller "
669 "may want to set user provided generation parameters that further affect key "
670 "parameter or key generation, such as the desired key size."
671 msgstr ""
672 "توليد المفاتيح يكون أحيانًا مباشرًا، فقط توليد أرقام المفتاح والانتهاء منه. "
673 "ومع ذلك، هناك أنواع معينة من المفاتيح تحتاج إلى معاملات مفتاح، تُسمى غالبًا "
674 "معاملات المجال ولكنها لا تقتصر على ذلك بالضرورة، والتي تحتاج أيضًا إلى "
675 "التوليد. بالإضافة إلى ذلك، قد يرغب المستدعي في تعيين معاملات توليد مقدمة من "
676 "المستخدم تؤثر بشكل أكبر على معامل المفتاح أو توليد المفتاح، مثل حجم المفتاح "
677 "المطلوب."
678
679 #. type: Plain text
680 #: debian-trixie debian-unstable
681 msgid ""
682 "To flexibly allow all that's just been described, key parameter and key "
683 "generation is divided into an initialization of a key algorithm context, "
684 "functions to set user provided parameters, and finally the key parameter or "
685 "key generation function itself."
686 msgstr ""
687 "للسماح بمرونة بكل ما وُصف للتو، يُقسم توليد معامل المفتاح والمفتاح إلى تهيئة "
688 "لسياق خوارزمية المفتاح، ودوال لتعيين المعاملات المقدمة من المستخدم، وأخيرًا "
689 "دالة توليد معامل المفتاح أو المفتاح نفسها."
690
691 #. type: Plain text
692 #: debian-trixie debian-unstable
693 msgid ""
694 "\\&B<EVP_PKEY_Q_keygen()> abstracts from the explicit use of B<EVP_PKEY_CTX> "
695 "while providing a 'quick' but limited way of generating a new asymmetric key "
696 "pair. It provides shorthands for simple and common cases of key "
697 "generation. As usual, the library context I<libctx> and property query "
698 "I<propq> can be given for fetching algorithms from providers. If I<type> is "
699 "CW<\\*(C`RSA\\*(C'>, a B<size_t> parameter must be given to specify the size "
700 "of the RSA key. If I<type> is CW<\\*(C`EC\\*(C'>, a string parameter must "
701 "be given to specify the name of the EC curve. If I<type> is: "
702 "\\&CW<\\*(C`ED25519\\*(C'>, \\&CW<\\*(C`ED448\\*(C'>, "
703 "\\&CW<\\*(C`SM2\\*(C'>, \\&CW<\\*(C`X25519\\*(C'>, \\&CW<\\*(C`X448\\*(C'>, "
704 "\\&CW<\\*(C`ML-DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, \\&CW<\\*(C`ML-"
705 "DSA-87\\*(C'>, \\&CW<\\*(C`ML-KEM-512\\*(C'>, \\&CW<\\*(C`ML-KEM-768\\*(C'>, "
706 "or \\&CW<\\*(C`ML-KEM-1024\\*(C'> no further parameters are needed. Other "
707 "key types may be possible if they are supplied by the loaded providers. "
708 "B<EVP_PKEY_Q_keygen()> may be usable with such key types as long as they do "
709 "not require further parameters."
710 msgstr ""
711 "\\&B<EVP_PKEY_Q_keygen()> تُجرد من الاستخدام الصريح لـ B<EVP_PKEY_CTX> مع "
712 "توفير طريقة 'سريعة' ولكن محدودة لتوليد زوج مفاتيح غير متماثل جديد. توفر "
713 "اختصارات للحالات البسيطة والشائعة لتوليد المفاتيح. كالمعتاد، يمكن تقديم سياق "
714 "المكتبة I<libctx> واستعلام الخاصية I<propq> لجلب الخوارزميات من المزودين. "
715 "إذا كان I<type> هو CW<\\*(C`RSA\\*(C'>، يجب تقديم معامل من نوع B<size_t> "
716 "لتحديد حجم مفتاح RSA. إذا كان I<type> هو CW<\\*(C`EC\\*(C'>، يجب تقديم معامل "
717 "سلسلة محارف لتحديد اسم منحنى EC. إذا كان I<type> هو: "
718 "\\&CW<\\*(C`ED25519\\*(C'>, \\&CW<\\*(C`ED448\\*(C'>, "
719 "\\&CW<\\*(C`SM2\\*(C'>, \\&CW<\\*(C`X25519\\*(C'>, \\&CW<\\*(C`X448\\*(C'>, "
720 "\\&CW<\\*(C`ML-DSA-44\\*(C'>, \\&CW<\\*(C`ML-DSA-65\\*(C'>, \\&CW<\\*(C`ML-"
721 "DSA-87\\*(C'>, \\&CW<\\*(C`ML-KEM-512\\*(C'>, \\&CW<\\*(C`ML-KEM-768\\*(C'>، "
722 "أو \\&CW<\\*(C`ML-KEM-1024\\*(C'> فلا حاجة لمعاملات إضافية. قد تكون أنواع "
723 "مفاتيح أخرى ممكنة إذا قدمها المزودون المحملون. قد تكون "
724 "B<EVP_PKEY_Q_keygen()> قابلة للاستخدام مع أنواع المفاتيح هذه طالما أنها لا "
725 "تتطلب معاملات إضافية."