[#PKCS7_RECIP_INFO_get0_alg]
= PKCS7&lowbar;RECIP&lowbar;INFO&lowbar;get0&lowbar;alg
:mrdocs:

Return a non&hyphen;owning pointer to a recipient info&apos;s key&hyphen;encryption algorithm&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
PKCS7&lowbar;RECIP&lowbar;INFO&lowbar;get0&lowbar;alg(
    xref:PKCS7_RECIP_INFO.adoc[PKCS7&lowbar;RECIP&lowbar;INFO]* ri,
    xref:X509_ALGOR.adoc[X509&lowbar;ALGOR]** penc);
----

== Return Value

a non&hyphen;owning pointer to a recipient info&apos;s key&hyphen;encryption algorithm&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ri*
| Recipient info to query&period;
| *penc*
| Destination for the key&hyphen;encryption AlgorithmIdentifier, or NULL&period;
|===


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