[#CMS_RecipientInfo_kari_get0_orig_id] = CMS_RecipientInfo_kari_get0_orig_id :mrdocs: Get the originator identifier from a key‐agreement RecipientInfo. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_RecipientInfo_kari_get0_orig_id( xref:CMS_RecipientInfo.adoc[CMS_RecipientInfo]* ri, xref:X509_ALGOR.adoc[X509_ALGOR]** pubalg, xref:ASN1_BIT_STRING.adoc[ASN1_BIT_STRING]** pubkey, xref:ASN1_OCTET_STRING.adoc[ASN1_OCTET_STRING]** keyid, xref:X509_NAME.adoc[X509_NAME]** issuer, xref:ASN1_INTEGER.adoc[ASN1_INTEGER]** sno); ---- == Return Value 1 on success, or 0 if `ri` is not a key‐agreement recipient. == Parameters [cols="1,4"] |=== | Name| Description | *ri* | Recipient info of type CMS_RECIPINFO_AGREE. | *pubalg* | Receives the originator public‐key algorithm, or NULL if not requested. | *pubkey* | Receives the originator public key BIT STRING, or NULL if not requested. | *keyid* | Receives the originator subject key identifier, or NULL if not requested. | *issuer* | Receives the originator issuer name, or NULL if not requested. | *sno* | Receives the originator serial number, or NULL if not requested. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#