[#CMS_get1_ReceiptRequest]
= CMS&lowbar;get1&lowbar;ReceiptRequest
:mrdocs:

Extract a CMS ReceiptRequest attribute from a SignerInfo&period;

== Synopsis

Declared in `&lt;openssl&sol;cms&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CMS&lowbar;get1&lowbar;ReceiptRequest(
    xref:CMS_SignerInfo.adoc[CMS&lowbar;SignerInfo]* si,
    xref:CMS_ReceiptRequest.adoc[CMS&lowbar;ReceiptRequest]** prr);
----

== Return Value

1 if found, 0 if not present, or &hyphen;1 on decode error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *si*
| SignerInfo whose signed attributes are searched&period;
| *prr*
| Receives a newly allocated ReceiptRequest on success&semi; set to NULL if absent&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
