OSSL_CMP_ITAV_get0_rootCaKeyUpdate

Extract root CA key-update certificates from a rootCaKeyUpdate ITAV.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_ITAV_get0_rootCaKeyUpdate(
    OSSL_CMP_ITAV const* itav,
    X509** newWithNew,
    X509** newWithOld,
    X509** oldWithNew);

Return Value

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

Parameters

NameDescription
itavITAV with infoType rootCaKeyUpdate.
newWithNewReceives the newWithNew certificate pointer, or NULL if absent.
newWithOldReceives the newWithOld certificate pointer if non-NULL, or NULL if absent.
oldWithNewReceives the oldWithNew certificate pointer if non-NULL, or NULL if absent.