[#CMS_verify_receipt] = CMS_verify_receipt :mrdocs: Verify a CMS signed receipt against the original SignedData that requested it. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_verify_receipt( xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* rcms, xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* ocms, xref:stack_st_X509.adoc[stack_st_X509]* certs, xref:X509_STORE.adoc[X509_STORE]* store, unsigned int flags); ---- == Return Value 1 on successful verification, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *rcms* | Signed receipt ContentInfo to verify. | *ocms* | Original SignedData ContentInfo that contained the receipt request. | *certs* | Certificates in which to search for the receipt's signing certificate. | *store* | Trusted store used for certificate chain verification. | *flags* | Optional CMS verify flags (CMS_DETACHED, CMS_BINARY, CMS_TEXT, and CMS_STREAM are not supported). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#