Hello,
> actually, i know about this method but i don't consider it as very clean. 
> any "native" method? :-)
Yes :-)
>From C you may establish SSL connection and get peer certificate with:
        X509 *cert = SSL_get_peer_certificate(ssl);

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to