[#PKCS7_signatureVerify]
= PKCS7&lowbar;signatureVerify
:mrdocs:

Verify one PKCS&num;7 signer info&apos;s signature against content digested from `bio&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
PKCS7&lowbar;signatureVerify(
    xref:BIO.adoc[BIO]* bio,
    xref:PKCS7.adoc[PKCS7]* p7,
    xref:PKCS7_SIGNER_INFO.adoc[PKCS7&lowbar;SIGNER&lowbar;INFO]* si,
    xref:X509.adoc[X509]* signer);
----

== Return Value

1 if the signature is valid, or 0 &sol; a negative value on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bio*
| BIO supplying the signed content octets (digest input)&period;
| *p7*
| Signed PKCS&num;7 structure containing the signer infos &sol; certificates&period;
| *si*
| Signer info whose signature is verified&period;
| *signer*
| Certificate whose public key verifies `si` (may be from `p7)&period;`
|===


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