[#CMS_RecipientInfo_ktri_cert_cmp] = CMS_RecipientInfo_ktri_cert_cmp :mrdocs: Compare a certificate against the recipient identifier in a key‐transport RecipientInfo. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_RecipientInfo_ktri_cert_cmp( xref:CMS_RecipientInfo.adoc[CMS_RecipientInfo]* ri, xref:X509.adoc[X509]* cert); ---- == Return Value 0 if `cert` matches the recipient id, or non‐zero otherwise. == Parameters [cols="1,4"] |=== | Name| Description | *ri* | Recipient info of type CMS_RECIPINFO_TRANS. | *cert* | Certificate whose issuer/serial or subject key id is compared. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#