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

Name

Description

ri

Recipient info of type CMS_RECIPINFO_TRANS.

cert

Certificate whose issuer/serial or subject key id is compared.

Created with MrDocs