Verify a CMS DigestedData ContentInfo and optionally write the content.
Synopsis
Declared in <openssl/cms.h>
int
CMS_digest_verify(
CMS_ContentInfo* cms,
BIO* dcont,
BIO* out,
unsigned int flags);
Return Value
1 on successful verification, or 0 on failure.
Parameters
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). |
Created with MrDocs