Compare a certificate against the recipient identifier of a RecipientEncryptedKey.
Declared in <openssl/cms.h>
int
CMS_RecipientEncryptedKey_cert_cmp(
CMS_RecipientEncryptedKey* rek,
X509* cert);
0 if cert matches the recipient id, non-zero if not, or -1 if the id form is unsupported.
| Name | Description |
|---|---|
| rek | Per-recipient encrypted key from a KARI RecipientInfo. |
| cert | Candidate recipient certificate. |