.\" -*- coding: UTF-8 -*- .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .de IX .. .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .if n .ds AD l .\" .\" Required to disable full justification in groff 1.23.0. .\" ======================================================================== .\" .IX Title "CMS_GET1_RECEIPTREQUEST 3ssl" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH CMS_GET1_RECEIPTREQUEST 3ssl "7 أبريل 2026" 3.6.2 OpenSSL .if n .ad l .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .nh .SH الاسم CMS_ReceiptRequest_create0_ex, CMS_ReceiptRequest_create0, CMS_add1_ReceiptRequest, CMS_get1_ReceiptRequest, CMS_ReceiptRequest_get0_values \&\- دوال طلب إيصال موقع CMS .SH موجز .IX Header موجز .Vb 1 \& #include \& \& CMS_ReceiptRequest *CMS_ReceiptRequest_create0_ex( \& unsigned char *id, int idlen, int allorfirst, \& STACK_OF(GENERAL_NAMES) *receiptList, STACK_OF(GENERAL_NAMES) *receiptsTo, \& OSSL_LIB_CTX *libctx); \& CMS_ReceiptRequest *CMS_ReceiptRequest_create0( \& unsigned char *id, int idlen, int allorfirst, \& STACK_OF(GENERAL_NAMES) *receiptList, STACK_OF(GENERAL_NAMES) *receiptsTo); \& int CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr); \& int CMS_get1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest **prr); \& void CMS_ReceiptRequest_get0_values(CMS_ReceiptRequest *rr, ASN1_STRING **pcid, \& int *pallorfirst, \& STACK_OF(GENERAL_NAMES) **plist, \& STACK_OF(GENERAL_NAMES) **prto); .Ve .SH الوصف .IX Header الوصف \&\fBCMS_ReceiptRequest_create0_ex()\fP تُنشئ بنية طلب إيصال موقع. يُضبط حقل \fBsignedContentIdentifier\fP باستخدام \fIid\fP و \fIidlen\fP، أو يُضبط إلى 32 بايت من البيانات العشوائية الزائفة إذا كان \fIid\fP هو NULL. إذا كان \fIreceiptList\fP هو NULL، يُستخدم خيار allOrFirstTier في \fIreceiptsFrom\fP ويُضبط إلى قيمة المعامل \fIallorfirst\fP. إذا لم يكن \fIreceiptList\fP هو NULL، يُستخدم خيار \fIreceiptList\fP في \fIreceiptsFrom\fP. يُحدد المعامل \fIreceiptsTo\fP قيمة حقل \fIreceiptsTo\fP. يُستخدم سياق المكتبة \fIlibctx\fP للعثور على المولد العشوائي العام. .PP \&\fBCMS_ReceiptRequest_create0()\fP مشابهة لـ \&\fBCMS_ReceiptRequest_create0_ex()\fP لكنها تستخدم قيماً مبدئية NULL لسياق المكتبة \fIlibctx\fP. .PP الدالة \fBCMS_add1_ReceiptRequest()\fP تُضيف طلب إيصال موقع \fBrr\fP إلى بنية SignerInfo \fBsi\fP. .PP int \fBCMS_get1_ReceiptRequest()\fP تبحث عن طلب إيصال موقع في \fBsi\fP، إذا وُجد أي منها، يُفك ترميزه ويُكتب إلى \fBprr\fP. .PP \&\fBCMS_ReceiptRequest_get0_values()\fP تسترجع قيم طلب إيصال. يُنسخ signedContentIdentifier إلى \fBpcid\fP. إذا استُخدم خيار \fBallOrFirstTier\fP من \fBreceiptsFrom\fP، تُنسخ قيمته إلى \fBpallorfirst\fP، وإلا يُنسخ حقل \fBreceiptList\fP إلى \fBplist\fP. يُنسخ المعامل \fBreceiptsTo\fP إلى \fBprto\fP. .SH ملاحظات .IX Header ملاحظات لمزيد من التفاصيل حول معنى الحقول، انظر RFC2634. .PP يجب اعتبار محتويات الإيصال الموقع ذات معنى فقط إذا أمكن التحقق من بنية CMS_ContentInfo المقابلة بنجاح باستخدام \&\fBCMS_verify()\fP. .SH "القيم المُرجعة" .IX Header "القيم المُرجعة" \&\fBCMS_ReceiptRequest_create0_ex()\fP و \fBCMS_ReceiptRequest_create0()\fP تُعيدان بنية طلب إيصال موقع أو NULL إذا حدث خطأ. .PP \&\fBCMS_add1_ReceiptRequest()\fP تُعيد 1 للنجاح أو 0 إذا حدث خطأ. .PP \&\fBCMS_get1_ReceiptRequest()\fP تُعيد 1 إذا وُجد طلب إيصال موقع وفُك ترميزه. تُعيد 0 إذا لم يكن طلب الإيصال الموقع موجوداً و \-1 إذا كان موجوداً لكنه مشوه. .SH "انظر أيضًا" .IX Header "انظر أيضًا" \&\fBERR_get_error\fP\|(3), \fBCMS_sign\fP\|(3), \&\fBCMS_sign_receipt\fP\|(3), \fBCMS_verify\fP\|(3) \&\fBCMS_verify_receipt\fP\|(3) .SH التاريخ .IX Header التاريخ أُضيفت الدالة \fBCMS_ReceiptRequest_create0_ex()\fP في OpenSSL 3.0. .SH "حقوق النسخ" .IX Header "حقوق النسخ" حقوق النشر 2008\-2021 مؤلفو مشروع OpenSSL. جميع الحقوق محفوظة. .PP مرخص بموجب رخصة Apache 2.0 (المشار إليها فيما يلي بـ ”الرخصة“). لا يجوز لك استخدام هذا الملف إلا وفقًا لشروط الرخصة. يمكنك الحصول على نسخة منها في الملف LICENSE الموجود في حزمة التوزيع المصدرية أو على الرابط . .PP .SH ترجمة تُرجمت هذه الصفحة من الدليل بواسطة زايد السعيدي . .PP هذه الترجمة هي وثيقة مجانية؛ راجع .UR https://www.gnu.org/licenses/gpl-3.0.html رخصة جنو العامة الإصدار 3 .UE أو ما بعده للاطلاع على شروط حقوق النشر. لا توجد أي ضمانات. .PP إذا وجدت أي أخطاء في ترجمة صفحة الدليل هذه، يرجى إرسال بريد إلكتروني إلى قائمة بريد المترجمين: .MT kde-l10n-ar@kde.org .ME .