Return the key‐wrap cipher context associated with a key‐agreement RecipientInfo.

Synopsis

Declared in <openssl/cms.h>

EVP_CIPHER_CTX*
CMS_RecipientInfo_kari_get0_ctx(CMS_RecipientInfo* ri);

Return Value

Internal EVP_CIPHER_CTX used for CEK wrap/unwrap (do not free), or NULL if ri is not KARI.

Parameters

Name

Description

ri

Recipient info of type CMS_RECIPINFO_AGREE.

Created with MrDocs