CMS_RecipientInfo_kari_get0_ctx

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

NameDescription
riRecipient info of type CMS_RECIPINFO_AGREE.