[#CMS_RecipientInfo_kari_get0_alg] = CMS_RecipientInfo_kari_get0_alg :mrdocs: Get the key‐encryption algorithm and optional UKM from a key‐agreement recipient info. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_RecipientInfo_kari_get0_alg( xref:CMS_RecipientInfo.adoc[CMS_RecipientInfo]* ri, xref:X509_ALGOR.adoc[X509_ALGOR]** palg, xref:ASN1_OCTET_STRING.adoc[ASN1_OCTET_STRING]** pukm); ---- == Return Value 1 on success, or 0 if `ri` is not a key‐agreement recipient info. == Parameters [cols="1,4"] |=== | Name| Description | *ri* | Recipient info of type CMS_RECIPINFO_AGREE. | *palg* | Receives the keyEncryptionAlgorithm, or NULL if not requested. | *pukm* | Receives the user keying material (UKM), or NULL if not requested or absent. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#