[#CMS_RecipientInfo_ktri_get0_signer_id]
= CMS&lowbar;RecipientInfo&lowbar;ktri&lowbar;get0&lowbar;signer&lowbar;id
:mrdocs:

Get the certificate recipient identifier from a key&hyphen;transport RecipientInfo&period;

== Synopsis

Declared in `&lt;openssl&sol;cms&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CMS&lowbar;RecipientInfo&lowbar;ktri&lowbar;get0&lowbar;signer&lowbar;id(
    xref:CMS_RecipientInfo.adoc[CMS&lowbar;RecipientInfo]* ri,
    xref:ASN1_OCTET_STRING.adoc[ASN1&lowbar;OCTET&lowbar;STRING]** keyid,
    xref:X509_NAME.adoc[X509&lowbar;NAME]** issuer,
    xref:ASN1_INTEGER.adoc[ASN1&lowbar;INTEGER]** sno);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ri*
| Recipient info of type CMS&lowbar;RECIPINFO&lowbar;TRANS&period;
| *keyid*
| Receives the subject key identifier when that form is used, or NULL if not requested&period;
| *issuer*
| Receives the issuer name when issuerAndSerialNumber is used, or NULL if not requested&period;
| *sno*
| Receives the serial number when issuerAndSerialNumber is used, or NULL if not requested&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
