Debian Codegraph @

po/ar/man3/EVP_PKEY_sign.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 18:35+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_sign.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
21 #
22 #. #-#-#-#-# archlinux: EVP_PKEY_sign.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
23 #. Required to disable full justification in groff 1.23.0.
24 #. ========================================================================
25 #. type: IX
26 #. #-#-#-#-# debian-trixie: EVP_PKEY_sign.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
27 #. ========================================================================
28 #. type: IX
29 #. #-#-#-#-# debian-unstable: EVP_PKEY_sign.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_SIGN 3ssl"
43 msgstr "EVP_PKEY_SIGN 3ssl"
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "EVP_PKEY_SIGN"
49 msgstr "EVP_PKEY_SIGN"
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_sign_init, EVP_PKEY_sign_init_ex, EVP_PKEY_sign_init_ex2, "
79 "EVP_PKEY_sign, EVP_PKEY_sign_message_init, EVP_PKEY_sign_message_update, "
80 "EVP_PKEY_sign_message_final - sign using a public key algorithm"
81 msgstr ""
82 "EVP_PKEY_sign_init, EVP_PKEY_sign_init_ex, EVP_PKEY_sign_init_ex2, "
83 "EVP_PKEY_sign, EVP_PKEY_sign_message_init, EVP_PKEY_sign_message_update, "
84 "EVP_PKEY_sign_message_final - التوقيع باستخدام خوارزمية مفتاح عام"
85
86 #. type: IX
87 #: archlinux debian-trixie debian-unstable
88 #, no-wrap
89 msgid "SYNOPSIS"
90 msgstr "موجز"
91
92 #. type: IX
93 #: archlinux debian-trixie debian-unstable
94 #, no-wrap
95 msgid "Header"
96 msgstr "Header"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable
100 #, no-wrap
101 msgid ""
102 "\\& #include E<lt>openssl/evp.hE<gt>\n"
103 "\\&\n"
104 "\\& int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx);\n"
105 "\\& int EVP_PKEY_sign_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);\n"
106 "\\& int EVP_PKEY_sign_init_ex2(EVP_PKEY_CTX *ctx, EVP_SIGNATURE *algo,\n"
107 "\\& const OSSL_PARAM params[]);\n"
108 "\\& int EVP_PKEY_sign_message_init(EVP_PKEY_CTX *ctx, EVP_SIGNATURE *algo,\n"
109 "\\& const OSSL_PARAM params[]);\n"
110 "\\& int EVP_PKEY_sign_message_update(EVP_PKEY_CTX *ctx,\n"
111 "\\& unsigned char *in, size_t inlen);\n"
112 "\\& int EVP_PKEY_sign_message_final(EVP_PKEY_CTX *ctx, unsigned char *sig,\n"
113 "\\& size_t *siglen, size_t sigsize);\n"
114 "\\& int EVP_PKEY_sign(EVP_PKEY_CTX *ctx,\n"
115 "\\& unsigned char *sig, size_t *siglen,\n"
116 "\\& const unsigned char *tbs, size_t tbslen);\n"
117 msgstr ""
118 "\\& #include E<lt>openssl/evp.hE<gt>\n"
119 "\\&\n"
120 "\\& int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx);\n"
121 "\\& int EVP_PKEY_sign_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);\n"
122 "\\& int EVP_PKEY_sign_init_ex2(EVP_PKEY_CTX *ctx, EVP_SIGNATURE *algo,\n"
123 "\\& const OSSL_PARAM params[]);\n"
124 "\\& int EVP_PKEY_sign_message_init(EVP_PKEY_CTX *ctx, EVP_SIGNATURE *algo,\n"
125 "\\& const OSSL_PARAM params[]);\n"
126 "\\& int EVP_PKEY_sign_message_update(EVP_PKEY_CTX *ctx,\n"
127 "\\& unsigned char *in, size_t inlen);\n"
128 "\\& int EVP_PKEY_sign_message_final(EVP_PKEY_CTX *ctx, unsigned char *sig,\n"
129 "\\& size_t *siglen, size_t sigsize);\n"
130 "\\& int EVP_PKEY_sign(EVP_PKEY_CTX *ctx,\n"
131 "\\& unsigned char *sig, size_t *siglen,\n"
132 "\\& const unsigned char *tbs, size_t tbslen);\n"
133
134 #. type: IX
135 #: archlinux debian-trixie debian-unstable
136 #, no-wrap
137 msgid "DESCRIPTION"
138 msgstr "الوصف"
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable
142 msgid ""
143 "\\&B<EVP_PKEY_sign_init()> initializes a public key algorithm context I<ctx> "
144 "for signing using the algorithm given when the context was created using "
145 "B<EVP_PKEY_CTX_new>\\|(3) or variants thereof. The algorithm is used to "
146 "fetch a B<EVP_SIGNATURE> method implicitly, see \"Implicit fetch\" in "
147 "B<provider>\\|(7) for more information about implicit fetches."
148 msgstr ""
149 "\\&B<EVP_PKEY_sign_init()> يُهيئ سياق خوارزمية مفتاح عام I<ctx> للتوقيع "
150 "باستخدام الخوارزمية المُعطاة عند إنشاء السياق باستخدام B<EVP_PKEY_CTX_new>\\|"
151 "(3) أو متغيراتها. تُستخدم الخوارزمية لجلب طريقة B<EVP_SIGNATURE> ضمنيًا، انظر "
152 "\"الجلب الضمني\" في B<provider>\\|(7) لمزيد من المعلومات حول الجلب الضمني."
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable
156 msgid ""
157 "\\&B<EVP_PKEY_sign_init_ex()> is the same as B<EVP_PKEY_sign_init()> but "
158 "additionally sets the passed parameters I<params> on the context before "
159 "returning."
160 msgstr ""
161 "\\&B<EVP_PKEY_sign_init_ex()> هو نفسه B<EVP_PKEY_sign_init()> لكنه يُعين "
162 "بالإضافة إلى ذلك المُعاملات الممررة I<params> على السياق قبل الإرجاع."
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable
166 msgid ""
167 "\\&B<EVP_PKEY_sign_init_ex2()> initializes a public key algorithm context "
168 "I<ctx> for signing a pre-computed message digest using the algorithm given "
169 "by I<algo> and the key given through B<EVP_PKEY_CTX_new>\\|(3) or "
170 "B<EVP_PKEY_CTX_new_from_pkey>\\|(3). A context I<ctx> without a pre-loaded "
171 "key cannot be used with this function. This function provides almost the "
172 "same functionality as B<EVP_PKEY_sign_init_ex()>, but is uniquely intended "
173 "to be used with a pre-computed message digest, and allows pre-determining "
174 "the exact conditions for that message digest, if a composite signature "
175 "algorithm (such as RSA-SHA256) was fetched. Following a call to this "
176 "function, setting parameters that modifies the digest implementation or "
177 "padding is not normally supported."
178 msgstr ""
179 "\\&B<EVP_PKEY_sign_init_ex2()> يُهيئ سياق خوارزمية مفتاح عام I<ctx> لتوقيع "
180 "ملخص رسالة محسوب مسبقًا باستخدام الخوارزمية المُعطاة بواسطة I<algo> والمفتاح "
181 "المُعطى عبر B<EVP_PKEY_CTX_new>\\|(3) أو B<EVP_PKEY_CTX_new_from_pkey>\\|(3). "
182 "لا يمكن استخدام سياق I<ctx> بدون مفتاح مُحمّل مسبقًا مع هذه الدالة. توفر هذه "
183 "الدالة نفس الوظيفة تقريبًا مثل B<EVP_PKEY_sign_init_ex()>، لكنها مخصصة بشكل "
184 "فريد للاستخدام مع ملخص رسالة محسوب مسبقًا، وتسمح بتحديد الشروط الدقيقة لذلك "
185 "الملخص مسبقًا، إذا جُلبت خوارزمية توقيع مركبة (مثل RSA-SHA256). بعد استدعاء "
186 "هذه الدالة، لا يُدعم عادةً تعيين مُعاملات تُعدل تنفيذ الملخص أو الحشو."
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable
190 msgid ""
191 "\\&B<EVP_PKEY_sign_message_init()> initializes a public key algorithm "
192 "context I<ctx> for signing an unlimited size message using the algorithm "
193 "given by I<algo> and the key given through B<EVP_PKEY_CTX_new>\\|(3) or "
194 "B<EVP_PKEY_CTX_new_from_pkey>\\|(3). Passing the message is supported both "
195 "in a one-shot fashion using \\&B<EVP_PKEY_sign()>, and through the "
196 "combination of B<EVP_PKEY_sign_message_update()> and "
197 "B<EVP_PKEY_sign_message_final()>. This function enables using algorithms "
198 "that can process input of arbitrary length, such as ED25519, RSA-SHA256 and "
199 "similar."
200 msgstr ""
201 "\\&B<EVP_PKEY_sign_message_init()> يُهيئ سياق خوارزمية مفتاح عام I<ctx> "
202 "لتوقيع رسالة ذات حجم غير محدود باستخدام الخوارزمية المُعطاة بواسطة I<algo> "
203 "والمفتاح المُعطى عبر B<EVP_PKEY_CTX_new>\\|(3) أو "
204 "B<EVP_PKEY_CTX_new_from_pkey>\\|(3). يُدعم تمرير الرسالة بطريقة لمرة واحدة "
205 "باستخدام \\&B<EVP_PKEY_sign()>، وعبر الجمع بين "
206 "B<EVP_PKEY_sign_message_update()> و B<EVP_PKEY_sign_message_final()>. تُمكّن "
207 "هذه الدالة من استخدام خوارزميات يمكنها معالجة إدخال بطول عشوائي، مثل ED25519 "
208 "و RSA-SHA256 وما شابه."
209
210 #. type: Plain text
211 #: archlinux
212 msgid ""
213 "\\&B<EVP_PKEY_sign_message_update()> adds I<inlen> bytes from I<in> to the "
214 "data to be processed for signature. The signature algorithm specification "
215 "and implementation determine how the input bytes are processed and if "
216 "there\\*(Aqs a limit on the total size of the input. See \"NOTES\" below "
217 "for a deeper explanation."
218 msgstr ""
219 "\\&B<EVP_PKEY_sign_message_update()> يُضيف I<inlen> بايت من I<in> إلى "
220 "البيانات المُراد معالجتها للتوقيع. يُحدد مواصفات وتنفيذ خوارزمية التوقيع كيفية "
221 "معالجة بايتات الإدخال وما إذا كان هناك حد للحجم الكلي للإدخال. انظر "
222 "\"ملاحظات\" أدناه لشرح أعمق."
223
224 #. type: Plain text
225 #: archlinux
226 msgid ""
227 "\\&B<EVP_PKEY_sign_message_final()> signs the processed data and places the "
228 "data in \\&I<sig>, and the number of signature bytes in I<*siglen>, if the "
229 "number of bytes doesn\\*(Aqt surpass the size given by I<sigsize>. "
230 "\\&I<sig> may be NULL, and in that case, only I<*siglen> is updated with the "
231 "number of signature bytes."
232 msgstr ""
233 "\\&B<EVP_PKEY_sign_message_final()> يُوقع البيانات المُعالجة ويضع البيانات في "
234 "\\&I<sig>، وعدد بايتات التوقيع في I<*siglen>، إذا لم يتجاوز عدد البايتات "
235 "الحجم المُعطى بواسطة I<sigsize>. يمكن أن يكون \\&I<sig> NULL، وفي هذه الحالة، "
236 "يُحدث فقط I<*siglen> بعدد بايتات التوقيع."
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable
240 msgid ""
241 "\\&B<EVP_PKEY_sign()> is a one-shot function that can be used with all the "
242 "init functions above. When initialization was done with "
243 "B<EVP_PKEY_sign_init()>, B<EVP_PKEY_sign_init_ex()> or "
244 "B<EVP_PKEY_sign_init_ex2()>, the data specified by I<tbs> and I<tbslen> is "
245 "signed after appropriate padding. When initialization was done with "
246 "B<EVP_PKEY_sign_message_init()>, the data specified by I<tbs> and I<tbslen> "
247 "is digested by the implied message digest algorithm, and the result is "
248 "signed after appropriate padding. If I<sig> is NULL then the maximum size "
249 "of the output buffer is written to the \\&I<siglen> parameter. If I<sig> is "
250 "not NULL, then before the call the I<siglen> parameter should contain the "
251 "length of the I<sig> buffer, and if the call is successful the signature is "
252 "written to I<sig> and the amount of data written to I<siglen>."
253 msgstr ""
254 "\\&B<EVP_PKEY_sign()> هي دالة لمرة واحدة يمكن استخدامها مع جميع دوال التهيئة "
255 "أعلاه. عندما أُجريت التهيئة باستخدام B<EVP_PKEY_sign_init()> أو "
256 "B<EVP_PKEY_sign_init_ex()> أو B<EVP_PKEY_sign_init_ex2()>، تُوقع البيانات "
257 "المُحددة بواسطة I<tbs> و I<tbslen> بعد الحشو المناسب. عندما أُجريت التهيئة "
258 "باستخدام B<EVP_PKEY_sign_message_init()>، تُهضم البيانات المُحددة بواسطة "
259 "I<tbs> و I<tbslen> بواسطة خوارزمية ملخص الرسالة الضمنية، ويُوقع الناتج بعد "
260 "الحشو المناسب. إذا كان I<sig> NULL، يُكتب الحجم الأقصى للمخزن الناتج إلى "
261 "المُعامل \\&I<siglen>. إذا لم يكن I<sig> NULL، فيجب أن يحتوي المُعامل "
262 "I<siglen> قبل الاستدعاء على طول مخزن I<sig>، وإذا كان الاستدعاء ناجحًا، يُكتب "
263 "التوقيع إلى I<sig> وتُكتب كمية البيانات إلى I<siglen>."
264
265 #. type: IX
266 #: archlinux debian-trixie debian-unstable
267 #, no-wrap
268 msgid "NOTES"
269 msgstr "ملاحظات"
270
271 #. type: IX
272 #: archlinux debian-trixie debian-unstable
273 #, no-wrap
274 msgid "General"
275 msgstr "عام"
276
277 #. type: IX
278 #: archlinux debian-trixie debian-unstable
279 #, no-wrap
280 msgid "Subsection"
281 msgstr "Subsection"
282
283 #. type: Plain text
284 #: archlinux debian-trixie debian-unstable
285 msgid ""
286 "Some signature implementations only accumulate the input data and do no "
287 "further processing before signing it (they expect the input to be a digest), "
288 "while others compress the data, typically by internally producing a digest, "
289 "and signing the result. Some of them support both modes of operation at the "
290 "same time. The caller is expected to know how the chosen algorithm is "
291 "supposed to behave and under what conditions."
292 msgstr ""
293 "بعض تطبيقات التوقيع تُراكم بيانات الإدخال فقط ولا تُجري معالجة إضافية قبل "
294 "توقيعها (تتوقع أن يكون الإدخال ملخصًا)، بينما تضغط أخرى البيانات، عادةً بإنتاج "
295 "ملخص داخليًا، وتوقع الناتج. بعضها يدعم كلا وضعي التشغيل في نفس الوقت. يُتوقع "
296 "من المستدعي معرفة كيف يجب أن تتصرف الخوارزمية المُختارة وتحت أي ظروف."
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable
300 msgid ""
301 "For example, an RSA implementation can be expected to only expect a message "
302 "digest as input, while ED25519 can be expected to process the input with a "
303 "hash, i.e. to produce the message digest internally, and while RSA-SHA256 "
304 "can be expected to handle either mode of operation, depending on if the "
305 "operation was initialized with B<EVP_PKEY_sign_init_ex2()> or with "
306 "B<EVP_PKEY_sign_message_init()>."
307 msgstr ""
308 "على سبيل المثال، يمكن توقع أن يتوقع تطبيق RSA فقط ملخص رسالة كإدخال، بينما "
309 "يمكن توقع أن يعالج ED25519 الإدخال بتجزئة، أي إنتاج ملخص الرسالة داخليًا، "
310 "وبينما يمكن توقع أن يتعامل RSA-SHA256 مع أي من وضعي التشغيل، اعتمادًا على ما "
311 "إذا أُهيئت العملية باستخدام B<EVP_PKEY_sign_init_ex2()> أو باستخدام "
312 "B<EVP_PKEY_sign_message_init()>."
313
314 #. type: Plain text
315 #: archlinux debian-trixie debian-unstable
316 msgid ""
317 "Similarly, an RSA implementation usually expects additional details to be "
318 "set, like the message digest algorithm that the input is supposed to be "
319 "digested with, as well as the padding mode (see "
320 "B<EVP_PKEY_CTX_set_signature_md>\\|(3) and "
321 "\\&B<EVP_PKEY_CTX_set_rsa_padding>\\|(3) and similar others), while an RSA-"
322 "SHA256 implementation usually has these details pre-set and immutable."
323 msgstr ""
324 "بالمثل، يتوقع تنفيذ RSA عادةً ضبط تفاصيل إضافية، مثل خوارزمية خلاصة الرسالة "
325 "التي يُفترض معالجة الإدخال بها، بالإضافة إلى وضع الحشو (padding) (انظر "
326 "B<EVP_PKEY_CTX_set_signature_md>\\|(3) و "
327 "\\&B<EVP_PKEY_CTX_set_rsa_padding>\\|(3) وغيرها من الوظائف المماثلة)، بينما "
328 "يحتوي تنفيذ RSA-SHA256 عادةً على هذه التفاصيل محددة مسبقاً وغير قابلة للتغيير."
329
330 #. type: Plain text
331 #: archlinux
332 msgid ""
333 "The functions described here can\\*(Aqt be used to combine separate "
334 "algorithms. In particular, neither B<EVP_PKEY_CTX_set_signature_md>\\|(3) "
335 "nor the B<OSSL_PARAM> parameter \"digest\" (B<OSSL_SIGNATURE_PARAM_DIGEST>) "
336 "can be used to combine a signature algorithm with a hash algorithm to "
337 "process the input. In other words, it\\*(Aqs not possible to specify a "
338 "I<ctx> pre-loaded with an RSA pkey, or an I<algo> that fetched "
339 "CW<\\*(C`RSA\\*(C'> and try to specify SHA256 separately to get the "
340 "functionality of RSA-SHA256. If combining algorithms in that manner is "
341 "desired, please use B<EVP_DigestSignInit>\\|(3) and associated functions."
342 msgstr ""
343 "لا يمكن استخدام الدوال الموصوفة هنا لدمج خوارزميات منفصلة. على وجه الخصوص، "
344 "لا يمكن استخدام B<EVP_PKEY_CTX_set_signature_md>\\|(3) ولا مُعامل "
345 "B<OSSL_PARAM> \"digest\" (B<OSSL_SIGNATURE_PARAM_DIGEST>) لدمج خوارزمية "
346 "توقيع مع خوارزمية تجزئة لمعالجة الإدخال. بعبارة أخرى، ليس من الممكن تحديد "
347 "I<ctx> مُحمّل مسبقًا بمفتاح RSA، أو I<algo> جلب CW<\\*(C`RSA\\*(C'> ومحاولة "
348 "تحديد SHA256 بشكل منفصل للحصول على وظيفة RSA-SHA256. إذا كان دمج الخوارزميات "
349 "بهذه الطريقة مرغوبًا، يُرجى استخدام B<EVP_DigestSignInit>\\|(3) والدوال "
350 "المرتبطة."
351
352 #. type: IX
353 #: archlinux debian-trixie debian-unstable
354 #, no-wrap
355 msgid "Performing multiple signatures"
356 msgstr "أداء توقيعات متعددة"
357
358 #. type: Plain text
359 #: archlinux debian-trixie debian-unstable
360 msgid ""
361 "When initialized using B<EVP_PKEY_sign_init_ex()> or "
362 "B<EVP_PKEY_sign_init_ex2()>, \\&B<EVP_PKEY_sign()> can be called more than "
363 "once on the same context to have several one-shot operations performed using "
364 "the same parameters."
365 msgstr ""
366 "عند التهيئة باستخدام B<EVP_PKEY_sign_init_ex()> أو "
367 "B<EVP_PKEY_sign_init_ex2()>، يمكن استدعاء \\&B<EVP_PKEY_sign()> أكثر من مرة "
368 "على نفس السياق لإجراء عدة عمليات لمرة واحدة باستخدام نفس المُعاملات."
369
370 #. type: Plain text
371 #: archlinux
372 msgid ""
373 "When initialized using B<EVP_PKEY_sign_message_init()>, it\\*(Aqs not "
374 "possible to call B<EVP_PKEY_sign()> multiple times."
375 msgstr ""
376 "عند التهيئة باستخدام B<EVP_PKEY_sign_message_init()>، ليس من الممكن استدعاء "
377 "B<EVP_PKEY_sign()> عدة مرات."
378
379 #. type: IX
380 #: archlinux debian-trixie debian-unstable
381 #, no-wrap
382 msgid "RETURN VALUES"
383 msgstr "القيم المُرجعة"
384
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable
387 msgid ""
388 "All functions return 1 for success and 0 or a negative value for failure."
389 msgstr "جميع الدوال تُرجع 1 للنجاح و 0 أو قيمة سالبة للفشل."
390
391 #. type: Plain text
392 #: archlinux debian-trixie debian-unstable
393 msgid ""
394 "In particular, B<EVP_PKEY_sign_init()> and its other variants may return -2 "
395 "to indicate that the operation is not supported by the public key algorithm."
396 msgstr ""
397 "على وجه الخصوص، قد تُرجع B<EVP_PKEY_sign_init()> ومتغيراتها الأخرى -2 للإشارة "
398 "إلى أن العملية غير مدعومة من قبل خوارزمية المفتاح العام."
399
400 #. type: IX
401 #: archlinux debian-trixie debian-unstable
402 #, no-wrap
403 msgid "EXAMPLES"
404 msgstr "أمثلة"
405
406 #. type: IX
407 #: archlinux debian-trixie debian-unstable
408 #, no-wrap
409 msgid "RSA with PKCS#1 padding for SHA256"
410 msgstr "RSA مع حشوة PKCS#1 لـ SHA256"
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable
414 msgid "Sign data using RSA with PKCS#1 padding and a SHA256 digest as input:"
415 msgstr "توقيع البيانات باستخدام RSA مع حشو PKCS#1 وملخص SHA256 كإدخال:"
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable
419 #, no-wrap
420 msgid ""
421 "\\& #include E<lt>openssl/evp.hE<gt>\n"
422 "\\& #include E<lt>openssl/rsa.hE<gt>\n"
423 "\\&\n"
424 "\\& EVP_PKEY_CTX *ctx;\n"
425 "\\& /* md is a SHA-256 digest in this example. */\n"
426 "\\& unsigned char *md, *sig;\n"
427 "\\& size_t mdlen = 32, siglen;\n"
428 "\\& EVP_PKEY *signing_key;\n"
429 "\\&\n"
430 "\\& /*\n"
431 "\\& * NB: assumes signing_key and md are set up before the next\n"
432 "\\& * step. signing_key must be an RSA private key and md must\n"
433 "\\& * point to the SHA-256 digest to be signed.\n"
434 "\\& */\n"
435 "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n"
436 "\\& if (ctx == NULL)\n"
437 "\\& /* Error occurred */\n"
438 "\\& if (EVP_PKEY_sign_init(ctx) E<lt>= 0)\n"
439 "\\& /* Error */\n"
440 "\\& if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PADDING) E<lt>= 0)\n"
441 "\\& /* Error */\n"
442 "\\& if (EVP_PKEY_CTX_set_signature_md(ctx, EVP_sha256()) E<lt>= 0)\n"
443 "\\& /* Error */\n"
444 "\\&\n"
445 "\\& /* Determine buffer length */\n"
446 "\\& if (EVP_PKEY_sign(ctx, NULL, &siglen, md, mdlen) E<lt>= 0)\n"
447 "\\& /* Error */\n"
448 "\\&\n"
449 "\\& sig = OPENSSL_malloc(siglen);\n"
450 "\\&\n"
451 "\\& if (sig == NULL)\n"
452 "\\& /* malloc failure */\n"
453 "\\&\n"
454 "\\& if (EVP_PKEY_sign(ctx, sig, &siglen, md, mdlen) E<lt>= 0)\n"
455 "\\& /* Error */\n"
456 "\\&\n"
457 "\\& /* Signature is siglen bytes written to buffer sig */\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 "\\& /* md is a SHA-256 digest in this example. */\n"
464 "\\& unsigned char *md, *sig;\n"
465 "\\& size_t mdlen = 32, siglen;\n"
466 "\\& EVP_PKEY *signing_key;\n"
467 "\\&\n"
468 "\\& /*\n"
469 "\\& * NB: assumes signing_key and md are set up before the next\n"
470 "\\& * step. signing_key must be an RSA private key and md must\n"
471 "\\& * point to the SHA-256 digest to be signed.\n"
472 "\\& */\n"
473 "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n"
474 "\\& if (ctx == NULL)\n"
475 "\\& /* Error occurred */\n"
476 "\\& if (EVP_PKEY_sign_init(ctx) E<lt>= 0)\n"
477 "\\& /* Error */\n"
478 "\\& if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PADDING) E<lt>= 0)\n"
479 "\\& /* Error */\n"
480 "\\& if (EVP_PKEY_CTX_set_signature_md(ctx, EVP_sha256()) E<lt>= 0)\n"
481 "\\& /* Error */\n"
482 "\\&\n"
483 "\\& /* Determine buffer length */\n"
484 "\\& if (EVP_PKEY_sign(ctx, NULL, &siglen, md, mdlen) E<lt>= 0)\n"
485 "\\& /* Error */\n"
486 "\\&\n"
487 "\\& sig = OPENSSL_malloc(siglen);\n"
488 "\\&\n"
489 "\\& if (sig == NULL)\n"
490 "\\& /* malloc failure */\n"
491 "\\&\n"
492 "\\& if (EVP_PKEY_sign(ctx, sig, &siglen, md, mdlen) E<lt>= 0)\n"
493 "\\& /* Error */\n"
494 "\\&\n"
495 "\\& /* Signature is siglen bytes written to buffer sig */\n"
496
497 #. type: IX
498 #: archlinux debian-trixie debian-unstable
499 #, no-wrap
500 msgid "RSA-SHA256 with a pre-computed digest"
501 msgstr "RSA-SHA256 مع ملخص محسوب مسبقًا"
502
503 #. type: Plain text
504 #: archlinux debian-trixie debian-unstable
505 msgid ""
506 "Sign a digest with RSA-SHA256 using one-shot functions. To be noted is that "
507 "RSA-SHA256 is assumed to be an implementation of "
508 "CW<\\*(C`sha256WithRSAEncryption\\*(C'>, for which the padding is pre-"
509 "determined to be B<RSA_PKCS1_PADDING>, and the input digest is assumed to "
510 "have been computed using SHA256."
511 msgstr ""
512 "وقع ملخصًا باستخدام RSA-SHA256 باستخدام دوال اللقطة الواحدة. يُلاحظ أن RSA-"
513 "SHA256 يُفترض أن يكون تطبيقًا لـ CW<\\*(C`sha256WithRSAEncryption\\*(C'>، حيث "
514 "يكون الحشو محددًا مسبقًا ليكون B<RSA_PKCS1_PADDING>، ويُفترض أن الملخص المُدخل "
515 "قد حُسب باستخدام SHA256."
516
517 #. type: Plain text
518 #: archlinux debian-trixie debian-unstable
519 #, no-wrap
520 msgid ""
521 "\\& #include E<lt>openssl/evp.hE<gt>\n"
522 "\\& #include E<lt>openssl/rsa.hE<gt>\n"
523 "\\&\n"
524 "\\& EVP_PKEY_CTX *ctx;\n"
525 "\\& /* md is a SHA-256 digest in this example. */\n"
526 "\\& unsigned char *md, *sig;\n"
527 "\\& size_t mdlen = 32, siglen;\n"
528 "\\& EVP_PKEY *signing_key;\n"
529 "\\&\n"
530 "\\& /*\n"
531 "\\& * NB: assumes signing_key and md are set up before the next\n"
532 "\\& * step. signing_key must be an RSA private key and md must\n"
533 "\\& * point to the SHA-256 digest to be signed.\n"
534 "\\& */\n"
535 "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n"
536 "\\& alg = EVP_SIGNATURE_fetch(NULL, \"RSA-SHA256\", NULL);\n"
537 "\\&\n"
538 "\\& if (ctx == NULL)\n"
539 "\\& /* Error occurred */\n"
540 "\\& if (EVP_PKEY_sign_init_ex2(ctx, alg, NULL) E<lt>= 0)\n"
541 "\\& /* Error */\n"
542 "\\&\n"
543 "\\& /* Determine buffer length */\n"
544 "\\& if (EVP_PKEY_sign(ctx, NULL, &siglen, md, mdlen) E<lt>= 0)\n"
545 "\\& /* Error */\n"
546 "\\&\n"
547 "\\& sig = OPENSSL_malloc(siglen);\n"
548 "\\&\n"
549 "\\& if (sig == NULL)\n"
550 "\\& /* malloc failure */\n"
551 "\\&\n"
552 "\\& if (EVP_PKEY_sign(ctx, sig, &siglen, md, mdlen) E<lt>= 0)\n"
553 "\\& /* Error */\n"
554 "\\&\n"
555 "\\& /* Signature is siglen bytes written to buffer sig */\n"
556 msgstr ""
557 "\\& #include E<lt>openssl/evp.hE<gt>\n"
558 "\\& #include E<lt>openssl/rsa.hE<gt>\n"
559 "\\&\n"
560 "\\& EVP_PKEY_CTX *ctx;\n"
561 "\\& /* md is a SHA-256 digest in this example. */\n"
562 "\\& unsigned char *md, *sig;\n"
563 "\\& size_t mdlen = 32, siglen;\n"
564 "\\& EVP_PKEY *signing_key;\n"
565 "\\&\n"
566 "\\& /*\n"
567 "\\& * NB: assumes signing_key and md are set up before the next\n"
568 "\\& * step. signing_key must be an RSA private key and md must\n"
569 "\\& * point to the SHA-256 digest to be signed.\n"
570 "\\& */\n"
571 "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n"
572 "\\& alg = EVP_SIGNATURE_fetch(NULL, \"RSA-SHA256\", NULL);\n"
573 "\\&\n"
574 "\\& if (ctx == NULL)\n"
575 "\\& /* Error occurred */\n"
576 "\\& if (EVP_PKEY_sign_init_ex2(ctx, alg, NULL) E<lt>= 0)\n"
577 "\\& /* Error */\n"
578 "\\&\n"
579 "\\& /* Determine buffer length */\n"
580 "\\& if (EVP_PKEY_sign(ctx, NULL, &siglen, md, mdlen) E<lt>= 0)\n"
581 "\\& /* Error */\n"
582 "\\&\n"
583 "\\& sig = OPENSSL_malloc(siglen);\n"
584 "\\&\n"
585 "\\& if (sig == NULL)\n"
586 "\\& /* malloc failure */\n"
587 "\\&\n"
588 "\\& if (EVP_PKEY_sign(ctx, sig, &siglen, md, mdlen) E<lt>= 0)\n"
589 "\\& /* Error */\n"
590 "\\&\n"
591 "\\& /* Signature is siglen bytes written to buffer sig */\n"
592
593 #. type: IX
594 #: archlinux debian-trixie debian-unstable
595 #, no-wrap
596 msgid "RSA-SHA256, one-shot"
597 msgstr "RSA-SHA256، طلقة واحدة"
598
599 #. type: Plain text
600 #: archlinux debian-trixie debian-unstable
601 msgid ""
602 "Sign a document with RSA-SHA256 using one-shot functions. To be noted is "
603 "that RSA-SHA256 is assumed to be an implementation of "
604 "\\&CW<\\*(C`sha256WithRSAEncryption\\*(C'>, for which the padding is pre-"
605 "determined to be \\&B<RSA_PKCS1_PADDING>."
606 msgstr ""
607 "وقع مستندًا باستخدام RSA-SHA256 باستخدام دوال اللقطة الواحدة. يُلاحظ أن RSA-"
608 "SHA256 يُفترض أن يكون تطبيقًا لـ \\&CW<\\*(C`sha256WithRSAEncryption\\*(C'>، "
609 "حيث يكون الحشو محددًا مسبقًا ليكون \\&B<RSA_PKCS1_PADDING>."
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable
613 #, no-wrap
614 msgid ""
615 "\\& #include E<lt>openssl/evp.hE<gt>\n"
616 "\\& #include E<lt>openssl/rsa.hE<gt>\n"
617 "\\&\n"
618 "\\& EVP_PKEY_CTX *ctx;\n"
619 "\\& /* in is the input in this example. */\n"
620 "\\& unsigned char *in, *sig;\n"
621 "\\& /* inlen is the length of the input in this example. */\n"
622 "\\& size_t inlen, siglen;\n"
623 "\\& EVP_PKEY *signing_key;\n"
624 "\\& EVP_SIGNATURE *alg;\n"
625 "\\&\n"
626 "\\& /*\n"
627 "\\& * NB: assumes signing_key, in and inlen are set up before\n"
628 "\\& * the next step. signing_key must be an RSA private key,\n"
629 "\\& * in must point to data to be digested and signed, and\n"
630 "\\& * inlen must be the size of the data in bytes.\n"
631 "\\& */\n"
632 "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n"
633 "\\& alg = EVP_SIGNATURE_fetch(NULL, \"RSA-SHA256\", NULL);\n"
634 "\\&\n"
635 "\\& if (ctx == NULL || alg == NULL)\n"
636 "\\& /* Error occurred */\n"
637 "\\& if (EVP_PKEY_sign_message_init(ctx, alg, NULL) E<lt>= 0)\n"
638 "\\& /* Error */\n"
639 "\\&\n"
640 "\\& /* Determine sig buffer length */\n"
641 "\\& if (EVP_PKEY_sign(ctx, NULL, &siglen, in, inlen) E<lt>= 0)\n"
642 "\\& /* Error */\n"
643 "\\&\n"
644 "\\& sig = OPENSSL_malloc(siglen);\n"
645 "\\&\n"
646 "\\& if (sig == NULL)\n"
647 "\\& /* malloc failure */\n"
648 "\\&\n"
649 "\\& if (EVP_PKEY_sign(ctx, sig, &siglen, in, inlen) E<lt>= 0)\n"
650 "\\& /* Error */\n"
651 "\\&\n"
652 "\\& /* Signature is siglen bytes written to buffer sig */\n"
653 msgstr ""
654 "\\& #include E<lt>openssl/evp.hE<gt>\n"
655 "\\& #include E<lt>openssl/rsa.hE<gt>\n"
656 "\\&\n"
657 "\\& EVP_PKEY_CTX *ctx;\n"
658 "\\& /* in is the input in this example. */\n"
659 "\\& unsigned char *in, *sig;\n"
660 "\\& /* inlen is the length of the input in this example. */\n"
661 "\\& size_t inlen, siglen;\n"
662 "\\& EVP_PKEY *signing_key;\n"
663 "\\& EVP_SIGNATURE *alg;\n"
664 "\\&\n"
665 "\\& /*\n"
666 "\\& * NB: assumes signing_key, in and inlen are set up before\n"
667 "\\& * the next step. signing_key must be an RSA private key,\n"
668 "\\& * in must point to data to be digested and signed, and\n"
669 "\\& * inlen must be the size of the data in bytes.\n"
670 "\\& */\n"
671 "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n"
672 "\\& alg = EVP_SIGNATURE_fetch(NULL, \"RSA-SHA256\", NULL);\n"
673 "\\&\n"
674 "\\& if (ctx == NULL || alg == NULL)\n"
675 "\\& /* Error occurred */\n"
676 "\\& if (EVP_PKEY_sign_message_init(ctx, alg, NULL) E<lt>= 0)\n"
677 "\\& /* Error */\n"
678 "\\&\n"
679 "\\& /* Determine sig buffer length */\n"
680 "\\& if (EVP_PKEY_sign(ctx, NULL, &siglen, in, inlen) E<lt>= 0)\n"
681 "\\& /* Error */\n"
682 "\\&\n"
683 "\\& sig = OPENSSL_malloc(siglen);\n"
684 "\\&\n"
685 "\\& if (sig == NULL)\n"
686 "\\& /* malloc failure */\n"
687 "\\&\n"
688 "\\& if (EVP_PKEY_sign(ctx, sig, &siglen, in, inlen) E<lt>= 0)\n"
689 "\\& /* Error */\n"
690 "\\&\n"
691 "\\& /* Signature is siglen bytes written to buffer sig */\n"
692
693 #. type: IX
694 #: archlinux debian-trixie debian-unstable
695 #, no-wrap
696 msgid "RSA-SHA256, using update and final"
697 msgstr "RSA-SHA256، باستخدام التحديث والنهاية"
698
699 #. type: Plain text
700 #: archlinux debian-trixie debian-unstable
701 msgid ""
702 "This is the same as the previous example, but allowing stream-like "
703 "functionality."
704 msgstr "هذا مماثل للمثال السابق، لكن مع السماح بوظيفية شبيهة بالدفق."
705
706 #. type: Plain text
707 #: archlinux debian-trixie debian-unstable
708 #, no-wrap
709 msgid ""
710 "\\& #include E<lt>openssl/evp.hE<gt>\n"
711 "\\& #include E<lt>openssl/rsa.hE<gt>\n"
712 "\\&\n"
713 "\\& EVP_PKEY_CTX *ctx;\n"
714 "\\& /* in is the input in this example. */\n"
715 "\\& unsigned char *in, *sig;\n"
716 "\\& /* inlen is the length of the input in this example. */\n"
717 "\\& size_t inlen, siglen;\n"
718 "\\& EVP_PKEY *signing_key;\n"
719 "\\& EVP_SIGNATURE *alg;\n"
720 "\\&\n"
721 "\\& /*\n"
722 "\\& * NB: assumes signing_key, in and inlen are set up before\n"
723 "\\& * the next step. signing_key must be an RSA private key,\n"
724 "\\& * in must point to data to be digested and signed, and\n"
725 "\\& * inlen must be the size of the data in bytes.\n"
726 "\\& */\n"
727 "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n"
728 "\\& alg = EVP_SIGNATURE_fetch(NULL, \"RSA-SHA256\", NULL);\n"
729 "\\&\n"
730 "\\& if (ctx == NULL || alg == NULL)\n"
731 "\\& /* Error occurred */\n"
732 "\\& if (EVP_PKEY_sign_message_init(ctx, alg, NULL) E<lt>= 0)\n"
733 "\\& /* Error */\n"
734 "\\&\n"
735 "\\& while (inlen E<gt> 0) {\n"
736 "\\& if (EVP_PKEY_sign_message_update(ctx, in, inlen)) E<lt>= 0)\n"
737 "\\& /* Error */\n"
738 "\\& if (inlen E<gt> 256) {\n"
739 "\\& inlen -= 256;\n"
740 "\\& in += 256;\n"
741 "\\& } else {\n"
742 "\\& inlen = 0;\n"
743 "\\& }\n"
744 "\\& }\n"
745 "\\&\n"
746 "\\& /* Determine sig buffer length */\n"
747 "\\& if (EVP_PKEY_sign_message_final(ctx, NULL, &siglen) E<lt>= 0)\n"
748 "\\& /* Error */\n"
749 "\\&\n"
750 "\\& sig = OPENSSL_malloc(siglen);\n"
751 "\\&\n"
752 "\\& if (sig == NULL)\n"
753 "\\& /* malloc failure */\n"
754 "\\&\n"
755 "\\& if (EVP_PKEY_sign_message_final(ctx, sig, &siglen) E<lt>= 0)\n"
756 "\\& /* Error */\n"
757 "\\&\n"
758 "\\& /* Signature is siglen bytes written to buffer sig */\n"
759 msgstr ""
760 "\\& #include E<lt>openssl/evp.hE<gt>\n"
761 "\\& #include E<lt>openssl/rsa.hE<gt>\n"
762 "\\&\n"
763 "\\& EVP_PKEY_CTX *ctx;\n"
764 "\\& /* in is the input in this example. */\n"
765 "\\& unsigned char *in, *sig;\n"
766 "\\& /* inlen is the length of the input in this example. */\n"
767 "\\& size_t inlen, siglen;\n"
768 "\\& EVP_PKEY *signing_key;\n"
769 "\\& EVP_SIGNATURE *alg;\n"
770 "\\&\n"
771 "\\& /*\n"
772 "\\& * NB: assumes signing_key, in and inlen are set up before\n"
773 "\\& * the next step. signing_key must be an RSA private key,\n"
774 "\\& * in must point to data to be digested and signed, and\n"
775 "\\& * inlen must be the size of the data in bytes.\n"
776 "\\& */\n"
777 "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n"
778 "\\& alg = EVP_SIGNATURE_fetch(NULL, \"RSA-SHA256\", NULL);\n"
779 "\\&\n"
780 "\\& if (ctx == NULL || alg == NULL)\n"
781 "\\& /* Error occurred */\n"
782 "\\& if (EVP_PKEY_sign_message_init(ctx, alg, NULL) E<lt>= 0)\n"
783 "\\& /* Error */\n"
784 "\\&\n"
785 "\\& while (inlen E<gt> 0) {\n"
786 "\\& if (EVP_PKEY_sign_message_update(ctx, in, inlen)) E<lt>= 0)\n"
787 "\\& /* Error */\n"
788 "\\& if (inlen E<gt> 256) {\n"
789 "\\& inlen -= 256;\n"
790 "\\& in += 256;\n"
791 "\\& } else {\n"
792 "\\& inlen = 0;\n"
793 "\\& }\n"
794 "\\& }\n"
795 "\\&\n"
796 "\\& /* Determine sig buffer length */\n"
797 "\\& if (EVP_PKEY_sign_message_final(ctx, NULL, &siglen) E<lt>= 0)\n"
798 "\\& /* Error */\n"
799 "\\&\n"
800 "\\& sig = OPENSSL_malloc(siglen);\n"
801 "\\&\n"
802 "\\& if (sig == NULL)\n"
803 "\\& /* malloc failure */\n"
804 "\\&\n"
805 "\\& if (EVP_PKEY_sign_message_final(ctx, sig, &siglen) E<lt>= 0)\n"
806 "\\& /* Error */\n"
807 "\\&\n"
808 "\\& /* Signature is siglen bytes written to buffer sig */\n"
809
810 #. type: IX
811 #: archlinux debian-trixie debian-unstable
812 #, no-wrap
813 msgid "SEE ALSO"
814 msgstr "انظر أيضًا"
815
816 #. type: Plain text
817 #: archlinux debian-trixie debian-unstable
818 msgid ""
819 "\\&B<EVP_PKEY_CTX_new>\\|(3), \\&B<EVP_PKEY_CTX_ctrl>\\|(3), "
820 "\\&B<EVP_PKEY_encrypt>\\|(3), \\&B<EVP_PKEY_decrypt>\\|(3), "
821 "\\&B<EVP_PKEY_verify>\\|(3), \\&B<EVP_PKEY_verify_recover>\\|(3), "
822 "\\&B<EVP_PKEY_derive>\\|(3)"
823 msgstr ""
824 "\\&B<EVP_PKEY_CTX_new>\\|(3), \\&B<EVP_PKEY_CTX_ctrl>\\|(3), "
825 "\\&B<EVP_PKEY_encrypt>\\|(3), \\&B<EVP_PKEY_decrypt>\\|(3), "
826 "\\&B<EVP_PKEY_verify>\\|(3), \\&B<EVP_PKEY_verify_recover>\\|(3), "
827 "\\&B<EVP_PKEY_derive>\\|(3)"
828
829 #. type: IX
830 #: archlinux debian-trixie debian-unstable
831 #, no-wrap
832 msgid "HISTORY"
833 msgstr "التاريخ"
834
835 #. type: Plain text
836 #: archlinux debian-trixie debian-unstable
837 msgid ""
838 "The B<EVP_PKEY_sign_init()> and B<EVP_PKEY_sign()> functions were added in "
839 "OpenSSL 1.0.0."
840 msgstr ""
841 "أُضيفت الدالتان B<EVP_PKEY_sign_init()> و B<EVP_PKEY_sign()> في OpenSSL 1.0.0."
842
843 #. type: Plain text
844 #: archlinux debian-trixie debian-unstable
845 msgid "The B<EVP_PKEY_sign_init_ex()> function was added in OpenSSL 3.0."
846 msgstr "الدالة B<EVP_PKEY_sign_init_ex()> أُضيفت في OpenSSL 3.0."
847
848 #. type: Plain text
849 #: archlinux debian-trixie debian-unstable
850 msgid ""
851 "The B<EVP_PKEY_sign_init_ex2()>, B<EVP_PKEY_sign_message_init()>, "
852 "\\&B<EVP_PKEY_sign_message_update()> and B<EVP_PKEY_sign_message_final()> "
853 "functions where added in OpenSSL 3.4."
854 msgstr ""
855 "أُضيفت الدوال B<EVP_PKEY_sign_init_ex2()> و B<EVP_PKEY_sign_message_init()> و "
856 "B<EVP_PKEY_sign_message_update()> و \\&B<EVP_PKEY_sign_message_final()> في "
857 "OpenSSL 3.4."
858
859 #. type: IX
860 #: archlinux debian-trixie debian-unstable
861 #, no-wrap
862 msgid "COPYRIGHT"
863 msgstr "حقوق النسخ"
864
865 #. type: Plain text
866 #: archlinux debian-trixie debian-unstable
867 msgid "Copyright 2006-2025 The OpenSSL Project Authors. All Rights Reserved."
868 msgstr "حقوق النشر 2006-2025 لمؤلفي مشروع OpenSSL. جميع الحقوق محفوظة."
869
870 #. type: Plain text
871 #: archlinux debian-trixie debian-unstable
872 msgid ""
873 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
874 "this file except in compliance with the License. You can obtain a copy in "
875 "the file LICENSE in the source distribution or at E<lt>https://www.openssl."
876 "org/source/license.htmlE<gt>."
877 msgstr ""
878 "مرخص بموجب رخصة Apache 2.0 (المشار إليها فيما يلي بـ ”الرخصة“). لا يجوز لك "
879 "استخدام هذا الملف إلا وفقًا لشروط الرخصة. يمكنك الحصول على نسخة منها في "
880 "الملف LICENSE الموجود في حزمة التوزيع المصدرية أو على الرابط E<lt>https://"
881 "www.openssl.org/source/license.htmlE<gt>."
882
883 #. ========================================================================
884 #. type: IX
885 #: debian-trixie debian-unstable
886 #, no-wrap
887 msgid "EVP_PKEY_SIGN 3SSL"
888 msgstr "EVP_PKEY_SIGN 3ssl"
889
890 #. type: TH
891 #: debian-trixie
892 #, no-wrap
893 msgid "3.5.6"
894 msgstr "3.5.6"
895
896 #. type: Plain text
897 #: debian-trixie debian-unstable
898 msgid ""
899 "\\&B<EVP_PKEY_sign_message_update()> adds I<inlen> bytes from I<in> to the "
900 "data to be processed for signature. The signature algorithm specification "
901 "and implementation determine how the input bytes are processed and if "
902 "there's a limit on the total size of the input. See \"NOTES\" below for a "
903 "deeper explanation."
904 msgstr ""
905 "\\&B<EVP_PKEY_sign_message_update()> يُضيف I<inlen> بايت من I<in> إلى "
906 "البيانات المُراد معالجتها للتوقيع. يُحدد مواصفات وتنفيذ خوارزمية التوقيع كيفية "
907 "معالجة بايتات الإدخال وما إذا كان هناك حد للحجم الكلي للإدخال. انظر "
908 "\"ملاحظات\" أدناه لشرح أعمق."
909
910 #. type: Plain text
911 #: debian-trixie debian-unstable
912 msgid ""
913 "\\&B<EVP_PKEY_sign_message_final()> signs the processed data and places the "
914 "data in \\&I<sig>, and the number of signature bytes in I<*siglen>, if the "
915 "number of bytes doesn't surpass the size given by I<sigsize>. \\&I<sig> may "
916 "be NULL, and in that case, only I<*siglen> is updated with the number of "
917 "signature bytes."
918 msgstr ""
919 "\\&B<EVP_PKEY_sign_message_final()> يُوقع البيانات المُعالجة ويضع البيانات في "
920 "\\&I<sig>، وعدد بايتات التوقيع في I<*siglen>، إذا لم يتجاوز عدد البايتات "
921 "الحجم المُعطى بواسطة I<sigsize>. يمكن أن يكون \\&I<sig> NULL، وفي هذه الحالة، "
922 "يُحدث فقط I<*siglen> بعدد بايتات التوقيع."
923
924 #. type: Plain text
925 #: debian-trixie debian-unstable
926 msgid ""
927 "The functions described here can't be used to combine separate algorithms. "
928 "In particular, neither B<EVP_PKEY_CTX_set_signature_md>\\|(3) nor the "
929 "B<OSSL_PARAM> parameter \"digest\" (B<OSSL_SIGNATURE_PARAM_DIGEST>) can be "
930 "used to combine a signature algorithm with a hash algorithm to process the "
931 "input. In other words, it's not possible to specify a I<ctx> pre-loaded "
932 "with an RSA pkey, or an I<algo> that fetched CW<\\*(C`RSA\\*(C'> and try to "
933 "specify SHA256 separately to get the functionality of RSA-SHA256. If "
934 "combining algorithms in that manner is desired, please use "
935 "B<EVP_DigestSignInit>\\|(3) and associated functions."
936 msgstr ""
937 "لا يمكن استخدام الدوال الموصوفة هنا لدمج خوارزميات منفصلة. على وجه الخصوص، "
938 "لا يمكن استخدام B<EVP_PKEY_CTX_set_signature_md>\\|(3) ولا مُعامل "
939 "B<OSSL_PARAM> \"digest\" (B<OSSL_SIGNATURE_PARAM_DIGEST>) لدمج خوارزمية "
940 "توقيع مع خوارزمية تجزئة لمعالجة الإدخال. بعبارة أخرى، ليس من الممكن تحديد "
941 "I<ctx> مُحمّل مسبقًا بمفتاح RSA، أو I<algo> جلب CW<\\*(C`RSA\\*(C'> ومحاولة "
942 "تحديد SHA256 بشكل منفصل للحصول على وظيفة RSA-SHA256. إذا كان دمج الخوارزميات "
943 "بهذه الطريقة مرغوبًا، يُرجى استخدام B<EVP_DigestSignInit>\\|(3) والدوال "
944 "المرتبطة."
945
946 #. type: Plain text
947 #: debian-trixie debian-unstable
948 msgid ""
949 "When initialized using B<EVP_PKEY_sign_message_init()>, it's not possible to "
950 "call B<EVP_PKEY_sign()> multiple times."
951 msgstr ""
952 "عند التهيئة باستخدام B<EVP_PKEY_sign_message_init()>، ليس من الممكن استدعاء "
953 "B<EVP_PKEY_sign()> عدة مرات."