Compare a certificate against the signer identifier of a CMS SignerInfo.
Declared in <openssl/cms.h>
<openssl/cms.h>
int CMS_SignerInfo_cert_cmp( CMS_SignerInfo* si, X509* cert);
0 if cert matches the signer id, or non-zero otherwise.
cert