[#CMS_verify] = CMS_verify :mrdocs: Verify CMS SignedData signatures and write the content to `out` when requested. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_verify( xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* cms, xref:stack_st_X509.adoc[stack_st_X509]* certs, xref:X509_STORE.adoc[X509_STORE]* store, xref:BIO.adoc[BIO]* dcont, xref:BIO.adoc[BIO]* out, unsigned int flags); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *cms* | SignedData ContentInfo to verify. | *certs* | Optional untrusted certificates to aid signer location, or NULL. | *store* | Trusted certificate store used to build and validate signer chains, or NULL. | *dcont* | Detached content BIO when the payload is not embedded; otherwise NULL. | *out* | Optional BIO that receives the verified content, or NULL. | *flags* | CMS verify flags (for example CMS_NO_SIGNER_CERT_VERIFY). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#