[#CMS_RecipientEncryptedKey_cert_cmp] = CMS_RecipientEncryptedKey_cert_cmp :mrdocs: Compare a certificate against the recipient identifier of a RecipientEncryptedKey. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_RecipientEncryptedKey_cert_cmp( xref:CMS_RecipientEncryptedKey.adoc[CMS_RecipientEncryptedKey]* rek, xref:X509.adoc[X509]* cert); ---- == Return Value 0 if `cert` matches the recipient id, non‐zero if not, or ‐1 if the id form is unsupported. == Parameters [cols="1,4"] |=== | Name| Description | *rek* | Per‐recipient encrypted key from a KARI RecipientInfo. | *cert* | Candidate recipient certificate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#