CMS_SignerInfo_cert_cmp

Compare a certificate against the signer identifier of a CMS SignerInfo.

Synopsis

Declared in <openssl/cms.h>

int
CMS_SignerInfo_cert_cmp(
    CMS_SignerInfo* si,
    X509* cert);

Return Value

0 if cert matches the signer id, or non-zero otherwise.

Parameters

NameDescription
siSignerInfo whose sid is compared.
certCandidate signer certificate.