OSSL_CMP_ITAV_get0_rootCaCert

Extract the root CA certificate from a rootCaCert ITAV.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_ITAV_get0_rootCaCert(
    OSSL_CMP_ITAV const* itav,
    X509** out);

Return Value

1 on success, 0 if itav is not a rootCaCert ITAV or on error.

Parameters

NameDescription
itavITAV with infoType rootCaCert.
outReceives the internal certificate pointer, or NULL if absent.