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