[#PKCS7_get_signed_attribute]
= PKCS7&lowbar;get&lowbar;signed&lowbar;attribute
:mrdocs:

Return a signed attribute of type `nid` from a PKCS&num;7 signer info&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ASN1_TYPE.adoc[ASN1&lowbar;TYPE]*
PKCS7&lowbar;get&lowbar;signed&lowbar;attribute(
    xref:PKCS7_SIGNER_INFO.adoc[PKCS7&lowbar;SIGNER&lowbar;INFO] const* si,
    int nid);
----

== Return Value

Pointer to the attribute value, or NULL if not present&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *si*
| Signer info to search&period;
| *nid*
| Attribute type NID to look up&period;
|===


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