[#PKCS7_verify] = PKCS7_verify :mrdocs: Verify a PKCS#7 signedData structure and optionally write the content. == Synopsis Declared in `<openssl/pkcs7.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int PKCS7_verify( xref:PKCS7.adoc[PKCS7]* p7, xref:stack_st_X509.adoc[stack_st_X509]* certs, xref:X509_STORE.adoc[X509_STORE]* store, xref:BIO.adoc[BIO]* indata, xref:BIO.adoc[BIO]* out, int flags); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *p7* | Signed PKCS#7 object to verify. | *certs* | Optional untrusted certificates that may complete signer chains. | *store* | Trusted certificate store used for chain verification. | *indata* | BIO supplying detached content when the signature does not embed it. | *out* | Optional BIO that receives the verified content. | *flags* | PKCS7_* verification flags (for example PKCS7_NOVERIFY, PKCS7_DETACHED). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#