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