Use function "X509_Verify_cert" in
openssl/crypto/x509/x509_verify.c as a clue to find
answers to your questions for example.

Hazel
--- Krishnam Raju <[EMAIL PROTECTED]> wrote:
> i am using open ssl api to build an application. i
> hv couple of doubts
> regd. the client and server certificates.
> i want to use client certificate, but dunno how to
> give it to ssl
> context so that it can use it in the handshake.
> there must be some api
> to set the client cert in to ctx. can some one help
> me on this.
> similarly i can get the server certificate frm the
> context. if i hv to
> validate it using the CA certificate  i hv to hv
> some api which takes
> the server cert and CA cert and tell me if its
> valid, i could not find
> such an api. can some one help me on this?
> 
> regards
> krishnam raju
> 
>
______________________________________________________________________
> OpenSSL Project                                
> http://www.openssl.org
> User Support Mailing List                   
> [EMAIL PROTECTED]
> Automated List Manager                          
> [EMAIL PROTECTED]
> 
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to