Verify a CMS DigestedData ContentInfo and optionally write the content.
Declared in <openssl/cms.h>
int
CMS_digest_verify(
CMS_ContentInfo* cms,
BIO* dcont,
BIO* out,
unsigned int flags);
1 on successful verification, or 0 on failure.
| Name | Description |
|---|---|
| cms | ContentInfo of type NID_pkcs7_digest to verify. |
| dcont | Detached content BIO when the digest is detached; normally NULL. |
| out | Optional BIO that receives the content after successful verification, or NULL. |
| flags | Optional CMS verify flags (for example CMS_TEXT). |