Re: Getting info from SSL_CTX

2010-08-19 Thread Harshvir Sidhu
Sam, I will try this and incase have some questions then i will send an email. Thanks. - Harshvir On Thu, Aug 19, 2010 at 10:02 AM, Sam Jantz wrote: > Harchvir, > > I am working on a similar problem, and from all I've seen the > information you are looking for is not stored in the conte

Re: Getting info from SSL_CTX

2010-08-19 Thread Sam Jantz
Harchvir, I am working on a similar problem, and from all I've seen the information you are looking for is not stored in the context, but rather in the actual SSL_SESSION object. There is a function SSL_SESSION_print(BIO* bio, SSL_SESSION * ses), and SSL_SESSION_print_fp(FILE* fp, SSL_SESSIO

Getting info from SSL_CTX

2010-08-19 Thread Harshvir Sidhu
Hi, I am trying to get info from SSL_CTX created through TCP connection, so that i can use that to encrypt/decrypt data and send through UDP. I am trying to authenticate and share keys using SSL_Connect handshake method, and then later extracting information from that CTX and encrypt data.