Verify that the content digest matches a CMS SignerInfo (messageDigest or signature).

Synopsis

Declared in <openssl/cms.h>

int
CMS_SignerInfo_verify_content(
    CMS_SignerInfo* si,
    BIO* chain);

Return Value

1 on success, 0 on failure, or a negative value on a more serious error.

Parameters

Name

Description

si

SignerInfo whose content signature or signed messageDigest attribute is checked.

chain

BIO chain supplying the signed content (as used during CMS verification).

Created with MrDocs