[#CMS_unsigned_get_attr_count]
= CMS&lowbar;unsigned&lowbar;get&lowbar;attr&lowbar;count
:mrdocs:

Return how many unsigned attributes are present on a CMS SignerInfo&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CMS&lowbar;unsigned&lowbar;get&lowbar;attr&lowbar;count(xref:CMS_SignerInfo.adoc[CMS&lowbar;SignerInfo] const* si);
----

== Return Value

Attribute count, or &hyphen;1 if the unsigned attribute list is NULL&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *si*
| SignerInfo whose unsignedAttrs are counted&period;
|===


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