[#OSSL_CMP_ITAV_get0_caCerts]
= OSSL&lowbar;CMP&lowbar;ITAV&lowbar;get0&lowbar;caCerts
:mrdocs:

Extract the CA certificate stack from a caCerts ITAV&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;CMP&lowbar;ITAV&lowbar;get0&lowbar;caCerts(
    xref:OSSL_CMP_ITAV.adoc[OSSL&lowbar;CMP&lowbar;ITAV] const* itav,
    stack&lowbar;st&lowbar;X509** out);
----

== Return Value

1 on success, 0 if `itav` is not a caCerts ITAV or on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *itav*
| ITAV with infoType caCerts&period;
| *out*
| Address of a pointer set to the internal certificate stack, or NULL if none&period;
|===


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