[#OSSL_CMP_ITAV_get0_rootCaKeyUpdate]
= OSSL&lowbar;CMP&lowbar;ITAV&lowbar;get0&lowbar;rootCaKeyUpdate
:mrdocs:

Extract root CA key&hyphen;update certificates from a rootCaKeyUpdate 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;rootCaKeyUpdate(
    xref:OSSL_CMP_ITAV.adoc[OSSL&lowbar;CMP&lowbar;ITAV] const* itav,
    xref:X509.adoc[X509]** newWithNew,
    xref:X509.adoc[X509]** newWithOld,
    xref:X509.adoc[X509]** oldWithNew);
----

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *itav*
| ITAV with infoType rootCaKeyUpdate&period;
| *newWithNew*
| Receives the newWithNew certificate pointer, or NULL if absent&period;
| *newWithOld*
| Receives the newWithOld certificate pointer if non&hyphen;NULL, or NULL if absent&period;
| *oldWithNew*
| Receives the oldWithNew certificate pointer if non&hyphen;NULL, or NULL if absent&period;
|===


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