[#PKCS7_get_issuer_and_serial]
= PKCS7&lowbar;get&lowbar;issuer&lowbar;and&lowbar;serial
:mrdocs:

Return the issuer&hyphen;and&hyphen;serial of signer info `idx` in a signed PKCS&num;7 structure&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:PKCS7_ISSUER_AND_SERIAL.adoc[PKCS7&lowbar;ISSUER&lowbar;AND&lowbar;SERIAL]*
PKCS7&lowbar;get&lowbar;issuer&lowbar;and&lowbar;serial(
    xref:PKCS7.adoc[PKCS7]* p7,
    int idx);
----

== Return Value

Pointer to the internal PKCS7&lowbar;ISSUER&lowbar;AND&lowbar;SERIAL (do not free), or NULL if out of range&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p7*
| PKCS&num;7 SignedData or SignedAndEnvelopedData object&period;
| *idx*
| Zero&hyphen;based index into the signer&hyphen;info stack&period;
|===


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