CMS_SignerInfo_verify_content

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

NameDescription
siSignerInfo whose content signature or signed messageDigest attribute is checked.
chainBIO chain supplying the signed content (as used during CMS verification).