Re: X509 info

2006-03-14 Thread Dr. Stephen Henson
On Tue, Mar 14, 2006, michael Dorrian wrote: > Here is a function to do what you want that i just wrote today. At least i > hope its what you want. Good luck!. > void ShowCerts(SSL* ssl) > { X509 *cert; >char buf[100]; >/* get the server's certificate */ > cert = SSL_get_peer_certific

Re: X509 info

2006-03-14 Thread michael Dorrian
Here is a function to do what you want that i just wrote today. At least i hope its what you want. Good luck!. void ShowCerts(SSL* ssl){   X509 *cert;  char buf[100];  /* get the server's certificate */ cert = SSL_get_peer_certificate(ssl); if ( cert != NULL )    {    /* issuer */   X509_NAM

Re: X509 info

2006-03-13 Thread Bernhard Froehlich
vipin rathor wrote: hi all, I want to develop a small utility in C to show all information about the X509 certificate file in a structured comprehensive(as displayed by browsers like IE). i'm working on SLES 9. so please help me out one more thing, i know the routines like X509_get