Pre Master Secret Regarding

2010-04-03 Thread Aravinda babu
Hi all, During SSL/TLS handshake,a pre master secret is sent from client to the server by encrypting pre master secret with server's public key.From that both client and server derive master secret and finally one symmetric key.My doubt is, why both cannot use pre master secret itself as a

Re: OpenSSL API which build the chain from a peer certificate

2008-11-07 Thread Aravinda babu
Aravinda babu wrote: Hi all, Is there any OpenSSL API which will prepare the certificate chain from the peer certificate given as input ? I have only peer certificate.I have to build the cert chain from this This was already answered yesterday - the answer is: If you want to use

Re: Preparing a certificate chain from the peer certificate during HTTPS

2008-11-05 Thread Aravinda babu
Hi all, Eagerly waiting for the response.. Thanks in advance, Aravind. On Tue, Nov 4, 2008 at 6:21 PM, Aravinda babu [EMAIL PROTECTED]wrote: Hi all, During HTTPS connection establishment server sends its certificate to client for verification. Now i want to prepare

OpenSSL API which build the chain from a peer certificate

2008-11-05 Thread Aravinda babu
Hi all, Is there any OpenSSL API which will prepare the certificate chain from the peer certificate given as input ? I have only peer certificate.I have to build the cert chain from this Thanks in advance, Aravind.

Preparing a certificate chain from the peer certificate during HTTPS

2008-11-04 Thread Aravinda babu
Hi all, During HTTPS connection establishment server sends its certificate to client for verification. Now i want to prepare a certificate chain from this certificate which got from server. I downloaded the CA bundle from Mozilla website.Now i have to prepare the cert chain from the peer

Peer Certificate Verification API

2008-11-03 Thread Aravinda babu
Hi all, Normally , During HTTPS connection establishment peer server produces it's certificate to the client.I want to know how openssl checks this certificate ? I want to know the exact API which does this so that i will check the code of that API. Please tell me the related things regarding

OPENSSL_ITEM regarding

2008-10-21 Thread Aravinda babu
Hi all, Can i get some information on how to use OPENSSL_ITEM structure. I found the structure definition in crypto.h as follows: *typedef* *struct* openssl_item_st http://cvs.opensolaris.org/source/s?refs=openssl_item_st { *int* code

Re: Getting the peer certificate in a memory buffer

2008-10-20 Thread Aravinda babu
[ii] , intFmtOfCerts[ii] ); } Thanks, Aravind. On Fri, Oct 17, 2008 at 8:26 PM, Douglas E. Engert [EMAIL PROTECTED] wrote: Aravinda babu wrote: Hi all, I am new to OpenSSL.I want to get the peer certificate in a memory buffer. If i use SSL_get_peer_certificate i can get in X509 strcture

Getting the peer certificate in a memory buffer

2008-10-17 Thread Aravinda babu
Hi all, I am new to OpenSSL.I want to get the peer certificate in a memory buffer. If i use SSL_get_peer_certificate i can get in X509 strcture. But i want the peer certificate as a data buffer.(unsigned char *) Is there any API for this ?? Thanks in advance, Aravind.