><i>TYPE</i>_up_ref</b>() if available. For the case of <b>X509</b> objects, an alternative to using <a href="../man3/X509_up_ref.html">X509_up_ref(3)</a> may be to still call <b><i>TYPE</i>_dup</b>(), e.g., <i>copied_cert = X509_dup(cert)</i>, followed by <i>X509_check_purpose(copied_cert, -1, 0)</i>, which re-builds the cached data.</p>

<p><b><i>TYPE</i>_free</b>() releases the object and all pointers and sub-objects within it.</p>

<p><b><i>TYPE</i>_print_ctx</b>() prints the object <i>a</i> on the spec