title: Use of STACK_OF(X509)
body: <p>I have a certificate chain in <code>STACK_OF(X509)</code> that I would like to verify. But I cannot seem to find how. How can I take individual certs out of this structure and verify them. Or verify the whole structure as a whole?</p>
  
  <p>I am using  <code>SSL_get_peer_cert_chain(ssl)</code> to get the stack.</p>