Compare a key identifier against the keyIdentifier of a KEK RecipientInfo.

Synopsis

Declared in <openssl/cms.h>

int
CMS_RecipientInfo_kekri_id_cmp(
    CMS_RecipientInfo* ri,
    unsigned char const* id,
    size_t idlen);

Return Value

0 if the identifiers match, or non‐zero otherwise.

Parameters

Name

Description

ri

Recipient info of type CMS_RECIPINFO_KEK.

id

Key identifier bytes to compare.

idlen

Length of id in octets.

Created with MrDocs