CMS_RecipientInfo_kekri_id_cmp

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

NameDescription
riRecipient info of type CMS_RECIPINFO_KEK.
idKey identifier bytes to compare.
idlenLength of id in octets.