# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:23+0200\n" "PO-Revision-Date: 2026-06-01 18:49+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" # #-#-#-#-# archlinux: EVP_PKEY_verify.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: EVP_PKEY_verify.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: EVP_PKEY_verify.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: EVP_PKEY_verify.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Title" msgstr "Title" #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #: archlinux #, no-wrap msgid "EVP_PKEY_VERIFY 3ssl" msgstr "EVP_PKEY_VERIFY 3ssl" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_PKEY_VERIFY" msgstr "EVP_PKEY_VERIFY" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "2026-04-07" msgstr "7 أبريل 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "3.6.2" msgstr "3.6.2" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "OpenSSL" msgstr "OpenSSL" #. type: SH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "EVP_PKEY_verify_init, EVP_PKEY_verify_init_ex, EVP_PKEY_verify_init_ex2, " "EVP_PKEY_verify, EVP_PKEY_verify_message_init, " "EVP_PKEY_verify_message_update, EVP_PKEY_verify_message_final, " "EVP_PKEY_CTX_set_signature - signature verification using a public key " "algorithm" msgstr "" "EVP_PKEY_verify_init, EVP_PKEY_verify_init_ex, EVP_PKEY_verify_init_ex2, " "EVP_PKEY_verify, EVP_PKEY_verify_message_init, " "EVP_PKEY_verify_message_update, EVP_PKEY_verify_message_final, " "EVP_PKEY_CTX_set_signature - التحقق من التوقيع باستخدام خوارزمية مفتاح عمومي" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SYNOPSIS" msgstr "موجز" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Header" msgstr "Header" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/evp.hE\n" "\\&\n" "\\& int EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx);\n" "\\& int EVP_PKEY_verify_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);\n" "\\& int EVP_PKEY_verify_init_ex2(EVP_PKEY_CTX *ctx, EVP_SIGNATURE *algo,\n" "\\& const OSSL_PARAM params[]);\n" "\\& int EVP_PKEY_verify_message_init(EVP_PKEY_CTX *ctx, EVP_SIGNATURE *algo,\n" "\\& const OSSL_PARAM params[]);\n" "\\& int EVP_PKEY_CTX_set_signature(EVP_PKEY_CTX *pctx,\n" "\\& const unsigned char *sig, size_t siglen);\n" "\\& int EVP_PKEY_verify_message_update(EVP_PKEY_CTX *ctx,\n" "\\& unsigned char *in, size_t inlen);\n" "\\& int EVP_PKEY_verify_message_final(EVP_PKEY_CTX *ctx);\n" "\\& int EVP_PKEY_verify(EVP_PKEY_CTX *ctx,\n" "\\& const unsigned char *sig, size_t siglen,\n" "\\& const unsigned char *tbs, size_t tbslen);\n" msgstr "" "\\& #include Eopenssl/evp.hE\n" "\\&\n" "\\& int EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx);\n" "\\& int EVP_PKEY_verify_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);\n" "\\& int EVP_PKEY_verify_init_ex2(EVP_PKEY_CTX *ctx, EVP_SIGNATURE *algo,\n" "\\& const OSSL_PARAM params[]);\n" "\\& int EVP_PKEY_verify_message_init(EVP_PKEY_CTX *ctx, EVP_SIGNATURE *algo,\n" "\\& const OSSL_PARAM params[]);\n" "\\& int EVP_PKEY_CTX_set_signature(EVP_PKEY_CTX *pctx,\n" "\\& const unsigned char *sig, size_t siglen);\n" "\\& int EVP_PKEY_verify_message_update(EVP_PKEY_CTX *ctx,\n" "\\& unsigned char *in, size_t inlen);\n" "\\& int EVP_PKEY_verify_message_final(EVP_PKEY_CTX *ctx);\n" "\\& int EVP_PKEY_verify(EVP_PKEY_CTX *ctx,\n" "\\& const unsigned char *sig, size_t siglen,\n" "\\& const unsigned char *tbs, size_t tbslen);\n" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B initializes a public key algorithm context " "I for verification using the algorithm given when the context was " "created using B\\|(3) or variants thereof. The algorithm " "is used to fetch a B method implicitly, see \"Implicit " "fetch\" in B\\|(7) for more information about implicit fetches." msgstr "" "\\&B يُهيئ سياق خوارزمية مفتاح عمومي I للتحقق " "باستخدام الخوارزمية المُعطاة عند إنشاء السياق باستخدام B\\|" "(3) أو متغيراتها. تُستخدم الخوارزمية لجلب طريقة B ضمنيًا، انظر " "\"الجلب الضمني\" في B\\|(7) لمزيد من المعلومات حول الجلب الضمني." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B is the same as B but " "additionally sets the passed parameters I on the context before " "returning." msgstr "" "\\&B هو نفسه B لكنه يضبط " "بالإضافة إلى ذلك المُعاملات المُمررة I على السياق قبل الإرجاع." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B is the same as " "B, but works with an explicitly fetched " "B I. A context I without a pre-loaded key cannot " "be used with this function. Depending on what algorithm was fetched, " "certain details revolving around the treatment of the input to " "B may be pre-determined, and in that case, those details " "may normally not be changed. See \"NOTES\" below for a deeper explanation." msgstr "" "\\&B هو نفسه B، لكنه " "يعمل مع B I مأخوذ بشكل صريح. لا يمكن استخدام سياق " "I بدون مفتاح مُحمّل مسبقًا مع هذه الدالة. اعتمادًا على الخوارزمية " "المأخوذة، قد تكون بعض التفاصيل المتعلقة بمعالجة المُدخل إلى " "B محددة مسبقًا، وفي هذه الحالة، لا يمكن تغيير تلك التفاصيل " "عادةً. انظر \"ملاحظات\" أدناه لشرح أعمق." #. type: Plain text #: archlinux debian-unstable msgid "" "\\&B initializes a public key algorithm " "context \\&I for verifying an unlimited size message using the " "algorithm given by \\&I and the key given through " "B\\|(3) or \\&B\\|(3). " "Passing the message is supported both in a one-shot fashion using " "\\&B, and through the combination of " "\\&B and " "B. This function enables using algorithms " "that can process input of arbitrary length, such as ED25519, RSA-SHA256 and " "similar." msgstr "" "\\&B يُهيئ سياق خوارزمية مفتاح عمومي " "\\&I للتحقق من رسالة غير محدودة الحجم باستخدام الخوارزمية المُعطاة " "بواسطة \\&I والمفتاح المُعطى عبر B\\|(3) أو " "\\&B\\|(3). يُدعم تمرير الرسالة بطريقة لمرة " "واحدة باستخدام \\&B، وعبر الجمع بين " "\\&B و " "B. تُتيح هذه الدالة استخدام الخوارزميات " "التي يمكنها معالجة مُدخل بطول عشوائي، مثل ED25519 و RSA-SHA256 وما شابه." #. type: Plain text #: archlinux debian-unstable msgid "" "\\&B specifies the I bytes long " "signature \\&I to be verified against by " "B. It I be used together with " "B and " "\\&B. See \"NOTES\" below for a deeper " "explanation." msgstr "" "\\&B يُحدد التوقيع \\&I بطول I " "بايت الذي يُتحقق منه بواسطة B. I<يجب> " "استخدامه مع B و " "\\&B. انظر \"ملاحظات\" أدناه لشرح أعمق." #. type: Plain text #: archlinux msgid "" "\\&B adds I bytes from I to the " "data to be processed for verification. The signature algorithm " "specification and implementation determine how the input bytes are processed " "and if there\\*(Aqs a limit on the total size of the input. See \"NOTES\" " "below for a deeper explanation." msgstr "" "\\&B يُضيف I بايت من I إلى " "البيانات التي تُعالج للتحقق. تُحدد مواصفات وتنفيذ خوارزمية التوقيع كيفية " "معالجة بايتات المُدخل وما إذا كان هناك حد للحجم الكلي للمُدخل. انظر " "\"ملاحظات\" أدناه لشرح أعمق." #. type: Plain text #: archlinux debian-unstable msgid "" "\\&B verifies the processed data, given " "only I. The signature to verify against must have been given with " "\\&B." msgstr "" "\\&B يتحقق من البيانات المُعالجة، معطى فقط " "I. يجب أن يكون التوقيع المُتحقق منه قد أُعطي مع " "\\&B." #. type: Plain text #: archlinux debian-unstable msgid "" "\\&B is a one-shot function that performs the same thing " "as \\&B call with I and I as " "parameters, followed by a single B call " "with I and \\&I, followed by B " "call." msgstr "" "\\&B هي دالة لمرة واحدة تؤدي نفس الشيء كاستدعاء " "\\&B مع I و I كمُعاملات، يليه " "استدعاء واحد B مع I و \\&I، " "يليه استدعاء B." #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "General" msgstr "عام" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Subsection" msgstr "Subsection" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Some signature implementations only accumulate the input data and do no " "further processing before verifying it (they expect the input to be a " "digest), while others compress the data, typically by internally producing a " "digest, and signing the result, which is then verified against a given " "signature. Some of them support both modes of operation at the same time. " "The caller is expected to know how the chosen algorithm is supposed to " "behave and under what conditions." msgstr "" "بعض تطبيقات التوقيع تُجمّع بيانات المُدخل فقط ولا تُجري معالجة إضافية قبل التحقق " "منها (تتوقع أن يكون المُدخل ملخصًا)، بينما تضغط أخرى البيانات، عادةً بإنتاج " "ملخص داخليًا، وتوقع النتيجة، التي تُتحقق منها بعد ذلك مقابل توقيع معطى. بعضها " "يدعم كلا وضعي التشغيل في نفس الوقت. يُتوقع من المُستدعي معرفة كيف يجب أن " "تتصرف الخوارزمية المُختارة وتحت أي ظروف." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "For example, an RSA implementation can be expected to only expect a digest " "as input, while ED25519 can be expected to process the input with a hash, i." "e. to produce the digest internally, and while RSA-SHA256 can be expected " "to handle either mode of operation, depending on if the operation was " "initialized with B or with " "B." msgstr "" "على سبيل المثال، يمكن توقع أن تطبيق RSA يتوقع فقط ملخصًا كمُدخل، بينما يمكن " "توقع أن ED25519 يعالج المُدخل بتجزئة، أي إنتاج الملخص داخليًا، وبينما يمكن " "توقع أن RSA-SHA256 يتعامل مع أي من وضعي التشغيل، اعتمادًا على ما إذا كانت " "العملية قد هُيئت باستخدام B أو باستخدام " "B." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Similarly, an RSA implementation usually expects additional details to be " "set, like the message digest algorithm that the input is supposed to be " "digested with, as well as the padding mode (see " "B\\|(3) and " "\\&B\\|(3) and similar others), while an RSA-" "SHA256 implementation usually has these details pre-set and immutable." msgstr "" "بالمثل، يتوقع تنفيذ RSA عادةً ضبط تفاصيل إضافية، مثل خوارزمية خلاصة الرسالة " "التي يُفترض معالجة الإدخال بها، بالإضافة إلى وضع الحشو (padding) (انظر " "B\\|(3) و " "\\&B\\|(3) وغيرها من الوظائف المماثلة)، بينما " "يحتوي تنفيذ RSA-SHA256 عادةً على هذه التفاصيل محددة مسبقاً وغير قابلة للتغيير." #. type: Plain text #: archlinux msgid "" "The functions described here can\\*(Aqt be used to combine separate " "algorithms. In particular, neither B\\|(3) " "nor the B parameter \"digest\" (B) " "can be used to combine a signature algorithm with a hash algorithm to " "process the input. In other words, it\\*(Aqs not possible to specify a " "I pre-loaded with an RSA pkey, or an I that fetched " "CW<\\*(C`RSA\\*(C'> and try to specify SHA256 separately to get the " "functionality of RSA-SHA256. If combining algorithms in that manner is " "desired, please use B\\|(3) and associated functions, " "or \\&B\\|(3) and associated functions." msgstr "" "لا يمكن استخدام الدوال الموصوفة هنا لدمج خوارزميات منفصلة. على وجه الخصوص، " "لا يمكن استخدام B\\|(3) ولا المُعامل " "B \"digest\" (B) لدمج خوارزمية " "توقيع مع خوارزمية تجزئة لمعالجة المُدخل. بعبارة أخرى، لا يمكن تحديد I " "مُحمّل مسبقًا بمفتاح RSA، أو I جلب CW<\\*(C`RSA\\*(C'> ومحاولة تحديد " "SHA256 بشكل منفصل للحصول على وظيفة RSA-SHA256. إذا كان دمج الخوارزميات بهذه " "الطريقة مرغوبًا، يُرجى استخدام B\\|(3) والدوال المرتبطة، " "أو \\&B\\|(3) والدوال المرتبطة." #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Performing multiple verifications" msgstr "إجراء عمليات تحقق متعددة" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "When initialized using B or " "B, \\&B can be called more " "than once on the same context to have several one-shot operations performed " "using the same parameters." msgstr "" "عند التهيئة باستخدام B أو " "B، يمكن استدعاء \\&B أكثر من " "مرة على نفس السياق لإجراء عدة عمليات لمرة واحدة باستخدام نفس المُعاملات." #. type: Plain text #: archlinux msgid "" "When initialized using B, it\\*(Aqs not " "possible to call B multiple times." msgstr "" "عند التهيئة باستخدام B، لا يمكن استدعاء " "B عدة مرات." #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "On EVP_PKEY_CTX_set_signature()" msgstr "حول EVP_PKEY_CTX_set_signature()" #. type: Plain text #: archlinux msgid "" "Some signature algorithms (such as LMS) require the signature verification " "data be specified before verifying the message. Other algorithms allow the " "signature to be specified late. To allow either way (which may depend on " "the application\\*(Aqs flow of input), the signature to be verified against " "I be specified using this function when using " "B and B " "to perform the verification." msgstr "" "بعض خوارزميات التوقيع (مثل LMS) تتطلب تحديد بيانات التحقق من التوقيع قبل " "التحقق من الرسالة. تسمح خوارزميات أخرى بتحديد التوقيع متأخرًا. للسماح بأي " "من الطريقتين (والتي قد تعتمد على تدفق المُدخل للتطبيق)، I<يجب> تحديد التوقيع " "المُتحقق منه باستخدام هذه الدالة عند استخدام " "B و B " "لإجراء التحقق." #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "القيم المُرجعة" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "All functions return 1 for success and 0 or a negative value for failure. " "However, unlike other functions, the return value 0 from " "B, \\&B and " "B only indicates that the signature did not " "verify successfully (that is tbs did not match the original data or the " "signature was of invalid form) it is not an indication of a more serious " "error." msgstr "" "ترجع جميع الدوال 1 عند النجاح و0 أو قيمة سالبة عند الفشل. ومع ذلك، على عكس " "الدوال الأخرى، تشير القيمة الراجعة 0 من B " "و\\&B وB فقط إلى " "أن التوقيع لم يُتحقق بنجاح (أي أن tbs لم يطابق البيانات الأصلية أو أن التوقيع " "كان بشكل غير صحيح) وليست دلالة على خطأ أكثر خطورة." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "A negative value indicates an error other that signature verification " "failure. In particular a return value of -2 indicates the operation is not " "supported by the public key algorithm." msgstr "" "تشير القيمة السالبة إلى خطأ غير فشل التحقق من التوقيع. على وجه الخصوص، تشير " "القيمة الراجعة -2 إلى أن العملية غير مدعومة من خوارزمية المفتاح العام." #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EXAMPLES" msgstr "أمثلة" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RSA with PKCS#1 padding for SHA256" msgstr "RSA مع حشوة PKCS#1 لـ SHA256" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Verify signature using PKCS#1 padding and a SHA256 digest as input:" msgstr "تحقق من التوقيع باستخدام حشو PKCS#1 ومستخلص SHA256 كمدخل:" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/evp.hE\n" "\\& #include Eopenssl/rsa.hE\n" "\\&\n" "\\& EVP_PKEY_CTX *ctx;\n" "\\& unsigned char *md, *sig;\n" "\\& size_t mdlen, siglen;\n" "\\& EVP_PKEY *verify_key;\n" "\\&\n" "\\& /*\n" "\\& * NB: assumes verify_key, sig, siglen md and mdlen are already set up\n" "\\& * and that verify_key is an RSA public key\n" "\\& */\n" "\\& ctx = EVP_PKEY_CTX_new(verify_key, NULL /* no engine */);\n" "\\& if (ctx == NULL)\n" "\\& /* Error occurred */\n" "\\& if (EVP_PKEY_verify_init(ctx) E= 0)\n" "\\& /* Error */\n" "\\& if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PADDING) E= 0)\n" "\\& /* Error */\n" "\\& if (EVP_PKEY_CTX_set_signature_md(ctx, EVP_sha256()) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& /* Perform operation */\n" "\\& ret = EVP_PKEY_verify(ctx, sig, siglen, md, mdlen);\n" "\\&\n" "\\& /*\n" "\\& * ret == 1 indicates success, 0 verify failure and E 0 for some\n" "\\& * other error.\n" "\\& */\n" msgstr "" "\\& #include Eopenssl/evp.hE\n" "\\& #include Eopenssl/rsa.hE\n" "\\&\n" "\\& EVP_PKEY_CTX *ctx;\n" "\\& unsigned char *md, *sig;\n" "\\& size_t mdlen, siglen;\n" "\\& EVP_PKEY *verify_key;\n" "\\&\n" "\\& /*\n" "\\& * NB: assumes verify_key, sig, siglen md and mdlen are already set up\n" "\\& * and that verify_key is an RSA public key\n" "\\& */\n" "\\& ctx = EVP_PKEY_CTX_new(verify_key, NULL /* no engine */);\n" "\\& if (ctx == NULL)\n" "\\& /* Error occurred */\n" "\\& if (EVP_PKEY_verify_init(ctx) E= 0)\n" "\\& /* Error */\n" "\\& if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PADDING) E= 0)\n" "\\& /* Error */\n" "\\& if (EVP_PKEY_CTX_set_signature_md(ctx, EVP_sha256()) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& /* Perform operation */\n" "\\& ret = EVP_PKEY_verify(ctx, sig, siglen, md, mdlen);\n" "\\&\n" "\\& /*\n" "\\& * ret == 1 indicates success, 0 verify failure and E 0 for some\n" "\\& * other error.\n" "\\& */\n" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RSA-SHA256 with a pre-computed digest" msgstr "RSA-SHA256 مع ملخص محسوب مسبقًا" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Verify a digest with RSA-SHA256 using one-shot functions. To be noted is " "that RSA-SHA256 is assumed to be an implementation of " "CW<\\*(C`sha256WithRSAEncryption\\*(C'>, for which the padding is pre-" "determined to be B, and the input digest is assumed to " "have been computed using SHA256." msgstr "" "تحقق من مستخلص باستخدام RSA-SHA256 باستخدام دوال اللقطة الواحدة. يُلاحظ أن " "RSA-SHA256 يُفترض أن يكون تنفيذًا لـ CW<\\*(C`sha256WithRSAEncryption\\*(C'>، " "حيث يكون الحشو محددًا مسبقًا كـ B، ويُفترض أن المستخلص " "المدخل قد حُسب باستخدام SHA256." #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/evp.hE\n" "\\& #include Eopenssl/rsa.hE\n" "\\&\n" "\\& EVP_PKEY_CTX *ctx;\n" "\\& /* md is a SHA-256 digest in this example. */\n" "\\& unsigned char *md, *sig;\n" "\\& size_t mdlen = 32, siglen;\n" "\\& EVP_PKEY *signing_key;\n" "\\&\n" "\\& /*\n" "\\& * NB: assumes verify_key, sig, siglen, md and mdlen are already set up\n" "\\& * and that verify_key is an RSA public key\n" "\\& */\n" "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n" "\\& alg = EVP_SIGNATURE_fetch(NULL, \"RSA-SHA256\", NULL);\n" "\\&\n" "\\& if (ctx == NULL)\n" "\\& /* Error occurred */\n" "\\& if (EVP_PKEY_verify_init_ex2(ctx, alg, NULL) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& /* Determine buffer length */\n" "\\& if (EVP_PKEY_verify(ctx, sig, siglen, md, mdlen) E= 0)\n" "\\& /* Error or signature doesn\\*(Aqt verify */\n" "\\&\n" "\\& /* Perform operation */\n" "\\& ret = EVP_PKEY_verify(ctx, sig, siglen, md, mdlen);\n" "\\&\n" "\\& /*\n" "\\& * ret == 1 indicates success, 0 verify failure and E 0 for some\n" "\\& * other error.\n" "\\& */\n" msgstr "" "\\& #include Eopenssl/evp.hE\n" "\\& #include Eopenssl/rsa.hE\n" "\\&\n" "\\& EVP_PKEY_CTX *ctx;\n" "\\& /* md is a SHA-256 digest in this example. */\n" "\\& unsigned char *md, *sig;\n" "\\& size_t mdlen = 32, siglen;\n" "\\& EVP_PKEY *signing_key;\n" "\\&\n" "\\& /*\n" "\\& * NB: assumes verify_key, sig, siglen, md and mdlen are already set up\n" "\\& * and that verify_key is an RSA public key\n" "\\& */\n" "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n" "\\& alg = EVP_SIGNATURE_fetch(NULL, \"RSA-SHA256\", NULL);\n" "\\&\n" "\\& if (ctx == NULL)\n" "\\& /* Error occurred */\n" "\\& if (EVP_PKEY_verify_init_ex2(ctx, alg, NULL) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& /* Determine buffer length */\n" "\\& if (EVP_PKEY_verify(ctx, sig, siglen, md, mdlen) E= 0)\n" "\\& /* Error or signature doesn\\*(Aqt verify */\n" "\\&\n" "\\& /* Perform operation */\n" "\\& ret = EVP_PKEY_verify(ctx, sig, siglen, md, mdlen);\n" "\\&\n" "\\& /*\n" "\\& * ret == 1 indicates success, 0 verify failure and E 0 for some\n" "\\& * other error.\n" "\\& */\n" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RSA-SHA256, one-shot" msgstr "RSA-SHA256، طلقة واحدة" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Verify a document with RSA-SHA256 using one-shot functions. To be noted is " "that RSA-SHA256 is assumed to be an implementation of " "\\&CW<\\*(C`sha256WithRSAEncryption\\*(C'>, for which the padding is pre-" "determined to be \\&B." msgstr "" "تحقق من مستند باستخدام RSA-SHA256 باستخدام دوال اللقطة الواحدة. يُلاحظ أن " "RSA-SHA256 يُفترض أن يكون تنفيذًا لـ " "\\&CW<\\*(C`sha256WithRSAEncryption\\*(C'>، حيث يكون الحشو محددًا مسبقًا كـ " "\\&B." #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/evp.hE\n" "\\& #include Eopenssl/rsa.hE\n" "\\&\n" "\\& EVP_PKEY_CTX *ctx;\n" "\\& /* in the input in this example. */\n" "\\& unsigned char *in, *sig;\n" "\\& /* inlen is the length of the input in this example. */\n" "\\& size_t inlen, siglen;\n" "\\& EVP_PKEY *signing_key;\n" "\\& EVP_SIGNATURE *alg;\n" "\\&\n" "\\& /*\n" "\\& * NB: assumes signing_key, in and inlen are set up before\n" "\\& * the next step. signing_key must be an RSA private key,\n" "\\& * in must point to data to be digested and signed, and\n" "\\& * inlen must be the size of the data in bytes.\n" "\\& */\n" "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n" "\\& alg = EVP_SIGNATURE_fetch(NULL, \"RSA-SHA256\", NULL);\n" "\\&\n" "\\& if (ctx == NULL || alg == NULL)\n" "\\& /* Error occurred */\n" "\\& if (EVP_PKEY_verify_message_init(ctx, alg, NULL) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& /* Perform operation */\n" "\\& ret = EVP_PKEY_verify(ctx, sig, siglen, in, inlen);\n" "\\&\n" "\\& /*\n" "\\& * ret == 1 indicates success, 0 verify failure and E 0 for some\n" "\\& * other error.\n" "\\& */\n" msgstr "" "\\& #include Eopenssl/evp.hE\n" "\\& #include Eopenssl/rsa.hE\n" "\\&\n" "\\& EVP_PKEY_CTX *ctx;\n" "\\& /* in the input in this example. */\n" "\\& unsigned char *in, *sig;\n" "\\& /* inlen is the length of the input in this example. */\n" "\\& size_t inlen, siglen;\n" "\\& EVP_PKEY *signing_key;\n" "\\& EVP_SIGNATURE *alg;\n" "\\&\n" "\\& /*\n" "\\& * NB: assumes signing_key, in and inlen are set up before\n" "\\& * the next step. signing_key must be an RSA private key,\n" "\\& * in must point to data to be digested and signed, and\n" "\\& * inlen must be the size of the data in bytes.\n" "\\& */\n" "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n" "\\& alg = EVP_SIGNATURE_fetch(NULL, \"RSA-SHA256\", NULL);\n" "\\&\n" "\\& if (ctx == NULL || alg == NULL)\n" "\\& /* Error occurred */\n" "\\& if (EVP_PKEY_verify_message_init(ctx, alg, NULL) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& /* Perform operation */\n" "\\& ret = EVP_PKEY_verify(ctx, sig, siglen, in, inlen);\n" "\\&\n" "\\& /*\n" "\\& * ret == 1 indicates success, 0 verify failure and E 0 for some\n" "\\& * other error.\n" "\\& */\n" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RSA-SHA256, using update and final" msgstr "RSA-SHA256، باستخدام التحديث والنهاية" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "This is the same as the previous example, but allowing stream-like " "functionality." msgstr "هذا مماثل للمثال السابق، لكن مع السماح بوظيفية شبيهة بالدفق." #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/evp.hE\n" "\\& #include Eopenssl/rsa.hE\n" "\\&\n" "\\& EVP_PKEY_CTX *ctx;\n" "\\& /* in is the input in this example. */\n" "\\& unsigned char *in, *sig;\n" "\\& /* inlen is the length of the input in this example. */\n" "\\& size_t inlen, siglen;\n" "\\& EVP_PKEY *signing_key;\n" "\\& EVP_SIGNATURE *alg;\n" "\\&\n" "\\& /*\n" "\\& * NB: assumes signing_key, in and inlen are set up before\n" "\\& * the next step. signing_key must be an RSA private key,\n" "\\& * in must point to data to be digested and signed, and\n" "\\& * inlen must be the size of the data in bytes.\n" "\\& */\n" "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n" "\\& alg = EVP_SIGNATURE_fetch(NULL, \"RSA-SHA256\", NULL);\n" "\\&\n" "\\& if (ctx == NULL || alg == NULL)\n" "\\& /* Error occurred */\n" "\\& if (EVP_PKEY_verify_message_init(ctx, alg, NULL) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& /* We have the signature, specify it early */\n" "\\& EVP_PKEY_CTX_set_signature(ctx, sig, siglen);\n" "\\&\n" "\\& /* Perform operation */\n" "\\& while (inlen E 0) {\n" "\\& if (EVP_PKEY_verify_message_update(ctx, in, inlen)) E= 0)\n" "\\& /* Error */\n" "\\& if (inlen E 256) {\n" "\\& inlen -= 256;\n" "\\& in += 256;\n" "\\& } else {\n" "\\& inlen = 0;\n" "\\& }\n" "\\& }\n" "\\& ret = EVP_PKEY_verify_message_final(ctx);\n" "\\&\n" "\\& /*\n" "\\& * ret == 1 indicates success, 0 verify failure and E 0 for some\n" "\\& * other error.\n" "\\& */\n" msgstr "" "\\& #include Eopenssl/evp.hE\n" "\\& #include Eopenssl/rsa.hE\n" "\\&\n" "\\& EVP_PKEY_CTX *ctx;\n" "\\& /* in is the input in this example. */\n" "\\& unsigned char *in, *sig;\n" "\\& /* inlen is the length of the input in this example. */\n" "\\& size_t inlen, siglen;\n" "\\& EVP_PKEY *signing_key;\n" "\\& EVP_SIGNATURE *alg;\n" "\\&\n" "\\& /*\n" "\\& * NB: assumes signing_key, in and inlen are set up before\n" "\\& * the next step. signing_key must be an RSA private key,\n" "\\& * in must point to data to be digested and signed, and\n" "\\& * inlen must be the size of the data in bytes.\n" "\\& */\n" "\\& ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */);\n" "\\& alg = EVP_SIGNATURE_fetch(NULL, \"RSA-SHA256\", NULL);\n" "\\&\n" "\\& if (ctx == NULL || alg == NULL)\n" "\\& /* Error occurred */\n" "\\& if (EVP_PKEY_verify_message_init(ctx, alg, NULL) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& /* We have the signature, specify it early */\n" "\\& EVP_PKEY_CTX_set_signature(ctx, sig, siglen);\n" "\\&\n" "\\& /* Perform operation */\n" "\\& while (inlen E 0) {\n" "\\& if (EVP_PKEY_verify_message_update(ctx, in, inlen)) E= 0)\n" "\\& /* Error */\n" "\\& if (inlen E 256) {\n" "\\& inlen -= 256;\n" "\\& in += 256;\n" "\\& } else {\n" "\\& inlen = 0;\n" "\\& }\n" "\\& }\n" "\\& ret = EVP_PKEY_verify_message_final(ctx);\n" "\\&\n" "\\& /*\n" "\\& * ret == 1 indicates success, 0 verify failure and E 0 for some\n" "\\& * other error.\n" "\\& */\n" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\|(3), \\&B\\|(3), " "\\&B\\|(3), \\&B\\|(3), " "\\&B\\|(3), \\&B\\|(3)" msgstr "" "\\&B\\|(3), \\&B\\|(3), " "\\&B\\|(3), \\&B\\|(3), " "\\&B\\|(3), \\&B\\|(3)" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B and B functions were added " "in OpenSSL 1.0.0." msgstr "" "أُضيفت الدالتان B و B في OpenSSL " "1.0.0." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The B function was added in OpenSSL 3.0." msgstr "الدالة B أُضيفت في OpenSSL 3.0." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B, B, " "\\&B, B " "and \\&B functions where added in OpenSSL 3.4." msgstr "" "الدوال B و B و " "\\&B و B " "و \\&B أُضيفت في OpenSSL 3.4." #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "حقوق النسخ" #. type: Plain text #: archlinux debian-unstable msgid "Copyright 2006-2025 The OpenSSL Project Authors. All Rights Reserved." msgstr "حقوق النشر 2006-2025 لمؤلفي مشروع OpenSSL. جميع الحقوق محفوظة." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Licensed under the Apache License 2.0 (the \"License\"). You may not use " "this file except in compliance with the License. You can obtain a copy in " "the file LICENSE in the source distribution or at Ehttps://www.openssl." "org/source/license.htmlE." msgstr "" "مرخص بموجب رخصة Apache 2.0 (المشار إليها فيما يلي بـ ”الرخصة“). لا يجوز لك " "استخدام هذا الملف إلا وفقًا لشروط الرخصة. يمكنك الحصول على نسخة منها في " "الملف LICENSE الموجود في حزمة التوزيع المصدرية أو على الرابط Ehttps://" "www.openssl.org/source/license.htmlE." #. ======================================================================== #. type: IX #: debian-trixie debian-unstable #, no-wrap msgid "EVP_PKEY_VERIFY 3SSL" msgstr "EVP_PKEY_VERIFY 3SSL" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "3.5.6" #. type: Plain text #: debian-trixie msgid "" "\\&B initializes a public key algorithm " "context \\&I for verifying an unlimited size message using the " "algorithm given by \\&I and the key given through " "B\\|(3) or \\&B\\|(3). " "Passing the message is supported both in a one-shot fashion using " "\\&B, and through the combination of " "B and \\&B. This " "function enables using algorithms that can process input of arbitrary " "length, such as ED25519, RSA-SHA256 and similar." msgstr "" "الدالة \\&B تُهيئ سياق خوارزمية المفتاح العام " "\\&I للتحقق من رسالة غير محدودة الحجم باستخدام الخوارزمية المعطاة " "بواسطة \\&I والمفتاح المُمر عبر B\\|(3) أو " "\\&B\\|(3). يُدعم تمرير الرسالة بطريقة لمرة " "واحدة باستخدام \\&B، وعبر الجمع بين " "B و \\&B. تُمكن هذه " "الدالة استخدام الخوارزميات التي تستطيع معالجة مدخلات ذات طول عشوائي، مثل " "ED25519 و RSA-SHA256 وما شابه." #. type: Plain text #: debian-trixie msgid "" "\\&B specifies the I bytes long " "signature \\&I to be verified against by B. " "It I be used together with B and " "\\&B. See \"NOTES\" below for a deeper explanation." msgstr "" "\\&B يُحدد التوقيع \\&I بطول I " "بايت الذي يُتحقق منه بواسطة B. I<يجب> استخدامه مع " "B و \\&B. انظر " "\"ملاحظات\" أدناه لشرح أعمق." #. type: Plain text #: debian-trixie msgid "" "\\&B adds I bytes from I to the data to " "be processed for verification. The signature algorithm specification and " "implementation determine how the input bytes are processed and if there's a " "limit on the total size of the input. See \"NOTES\" below for a deeper " "explanation." msgstr "" "تضيف \\&B I بايت من I إلى البيانات " "المراد معالجتها للتحقق. تحدد مواصفات خوارزمية التوقيع وتنفيذها كيفية معالجة " "بايتات الإدخال وما إذا كان هناك حد للحجم الكلي للإدخال. انظر \"ملاحظات\" " "أدناه للحصول على شرح أعمق." #. type: Plain text #: debian-trixie msgid "" "\\&B verifies the processed data, given only " "I. The signature to verify against must have been given with " "\\&B." msgstr "" "\\&B يتحقق من البيانات المُعالجة، معطى فقط I. " "يجب أن يكون التوقيع المُتحقق منه قد أُعطي مع " "\\&B." #. type: Plain text #: debian-trixie msgid "" "\\&B is a one-shot function that performs the same thing " "as \\&B call with I and I as " "parameters, followed by a single B call with " "I and I, followed by B call." msgstr "" "\\&B هي دالة لمرة واحدة تؤدي نفس الشيء كاستدعاء " "\\&B مع I و I كمُعاملات، يليه " "استدعاء واحد B مع I و \\&I، يليه " "استدعاء B." #. type: Plain text #: debian-trixie debian-unstable msgid "" "The functions described here can't be used to combine separate algorithms. " "In particular, neither B\\|(3) nor the " "B parameter \"digest\" (B) can be " "used to combine a signature algorithm with a hash algorithm to process the " "input. In other words, it's not possible to specify a I pre-loaded " "with an RSA pkey, or an I that fetched CW<\\*(C`RSA\\*(C'> and try to " "specify SHA256 separately to get the functionality of RSA-SHA256. If " "combining algorithms in that manner is desired, please use " "B\\|(3) and associated functions, or " "\\&B\\|(3) and associated functions." msgstr "" "لا يمكن استخدام الدوال الموصوفة هنا لدمج خوارزميات منفصلة. على وجه الخصوص، " "لا يمكن استخدام B\\|(3) ولا معامل " "B \"digest\" (B) لدمج خوارزمية " "توقيع مع خوارزمية تجزئة لمعالجة المدخلات. بعبارة أخرى، لا يمكن تحديد سياق " "I محمّل مسبقًا بمفتاح RSA، أو خوارزمية I جلبت CW<\\*(C`RSA\\*(C'> " "ومحاولة تحديد SHA256 بشكل منفصل للحصول على وظيفة RSA-SHA256. إذا كان دمج " "الخوارزميات بهذه الطريقة مرغوبًا، يُرجى استخدام B\\|(3) " "والدوال المرتبطة، أو \\&B\\|(3) والدوال المرتبطة." #. type: Plain text #: debian-trixie debian-unstable msgid "" "When initialized using B, it's not possible " "to call B multiple times." msgstr "" "عند التهيئة باستخدام B، لا يمكن استدعاء " "B عدة مرات." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Some signature algorithms (such as LMS) require the signature verification " "data be specified before verifying the message. Other algorithms allow the " "signature to be specified late. To allow either way (which may depend on " "the application's flow of input), the signature to be verified against " "I be specified using this function when using " "B and B " "to perform the verification." msgstr "" "تتطلب بعض خوارزميات التوقيع (مثل LMS) تحديد بيانات التحقق من التوقيع قبل " "التحقق من الرسالة. وتسمح خوارزميات أخرى بتحديد التوقيع متأخرًا. للسماح بأي " "من الطريقتين (والتي قد تعتمد على تدفق الإدخال للتطبيق)، I<يجب> تحديد التوقيع " "المراد التحقق منه باستخدام هذه الدالة عند استخدام " "B و B " "لإجراء التحقق." #. type: Plain text #: debian-trixie msgid "Copyright 2006-2024 The OpenSSL Project Authors. All Rights Reserved." msgstr "حقوق النشر 2006-2024 لمؤلفي مشروع OpenSSL. جميع الحقوق محفوظة." #. type: Plain text #: debian-unstable msgid "" "\\&B adds I bytes from I to the " "data to be processed for verification. The signature algorithm " "specification and implementation determine how the input bytes are processed " "and if there's a limit on the total size of the input. See \"NOTES\" below " "for a deeper explanation." msgstr "" "تضيف \\&B I بايت من I إلى " "البيانات المراد معالجتها للتحقق. تحدد مواصفات خوارزمية التوقيع وتنفيذها " "كيفية معالجة بايتات الإدخال وما إذا كان هناك حد للحجم الكلي للإدخال. انظر " "\"ملاحظات\" أدناه للحصول على شرح أعمق."