How to get certificate from SSL_CTX?
<p>I used <code>SSL_CTX_use_certificate( SSL_CTX *ctx, X509 *x )</code> to store certificate to <code>SSL_CTX *ctx</code>. </p>

<p>It gets stored in <code>SSL_CTX</code> object at <code>ctx-&gt;cert-&gt;key-&gt;x509</code>  </p>

<p>Is there any API to get back from <code>SSL_CTX</code> ?</p>