Compare a certificate against the originator identifier of a KARI RecipientInfo.

Synopsis

Declared in <openssl/cms.h>

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

Return Value

0 if cert matches, non‐zero if it does not, ‐1 if the originator form is unsupported, or ‐2 if ri is not KARI.

Parameters

Name

Description

ri

Recipient info of type CMS_RECIPINFO_AGREE.

cert

Candidate originator certificate.

Created with MrDocs