[#CMS_SignerInfo_verify_content]
= CMS&lowbar;SignerInfo&lowbar;verify&lowbar;content
:mrdocs:

Verify that the content digest matches a CMS SignerInfo (messageDigest or signature)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CMS&lowbar;SignerInfo&lowbar;verify&lowbar;content(
    xref:CMS_SignerInfo.adoc[CMS&lowbar;SignerInfo]* si,
    xref:BIO.adoc[BIO]* chain);
----

== Return Value

1 on success, 0 on failure, or a negative value on a more serious error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *si*
| SignerInfo whose content signature or signed messageDigest attribute is checked&period;
| *chain*
| BIO chain supplying the signed content (as used during CMS verification)&period;
|===


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