[#OSSL_CMP_ITAV_get0_rootCaCert]
= OSSL&lowbar;CMP&lowbar;ITAV&lowbar;get0&lowbar;rootCaCert
:mrdocs:

Extract the root CA certificate from a rootCaCert 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;rootCaCert(
    xref:OSSL_CMP_ITAV.adoc[OSSL&lowbar;CMP&lowbar;ITAV] const* itav,
    xref:X509.adoc[X509]** out);
----

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *itav*
| ITAV with infoType rootCaCert&period;
| *out*
| Receives the internal certificate pointer, or NULL if absent&period;
|===


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