[#PKCS7_cert_from_signer_info]
= PKCS7&lowbar;cert&lowbar;from&lowbar;signer&lowbar;info
:mrdocs:

Find the certificate in `p7` that matches a signer info&apos;s issuer and serial&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:X509.adoc[X509]*
PKCS7&lowbar;cert&lowbar;from&lowbar;signer&lowbar;info(
    xref:PKCS7.adoc[PKCS7]* p7,
    xref:PKCS7_SIGNER_INFO.adoc[PKCS7&lowbar;SIGNER&lowbar;INFO]* si);
----

== Return Value

Matching X509 from `p7` (do not free), or NULL if none is present&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p7*
| PKCS&num;7 object whose certificate set is searched&period;
| *si*
| Signer info whose issuerAndSerialNumber is matched&period;
|===


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