CMS_RecipientInfo_ktri_cert_cmp

Compare a certificate against the recipient identifier in a key-transport RecipientInfo.

Synopsis

Declared in <openssl/cms.h>

int
CMS_RecipientInfo_ktri_cert_cmp(
    CMS_RecipientInfo* ri,
    X509* cert);

Return Value

0 if cert matches the recipient id, or non-zero otherwise.

Parameters

NameDescription
riRecipient info of type CMS_RECIPINFO_TRANS.
certCertificate whose issuer/serial or subject key id is compared.