[#CMS_RecipientInfo_kari_decrypt] = CMS_RecipientInfo_kari_decrypt :mrdocs: Unwrap the content‐encryption key from one KARI RecipientEncryptedKey into `cms.` == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_RecipientInfo_kari_decrypt( xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* cms, xref:CMS_RecipientInfo.adoc[CMS_RecipientInfo]* ri, xref:CMS_RecipientEncryptedKey.adoc[CMS_RecipientEncryptedKey]* rek); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *cms* | Enveloped ContentInfo that receives the decrypted CEK. | *ri* | Key‐agreement RecipientInfo with private key and peer material already set. | *rek* | RecipientEncryptedKey entry that holds the wrapped CEK for this recipient. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#