X509_verify_cert(3)</a> and similar functions. With <a href="../man3/X509_STORE_CTX_verify.html">X509_STORE_CTX_verify(3)</a>, this does not count the first chain element.</p>

<p>X509_STORE_CTX_get0_chain() returns the internal pointer used by the <i>ctx</i> that contains the validated chain.</p>

<p>Details of the chain building and checking process are described in <a href="../man1/openssl-verification-options.html">&quot;Certification Path Building&quot; in openssl-verification-options(1)</a> and <a hre