How to convert base64 encoded char buffer to X509

2008-04-10 Thread Mohd Saleem
Hi , I have char buffer in base64 encoded format. The client should read the buffer, decode it and get the result in X509 structure, i am facing issues with this. I am getting an error, error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag. Could you help me in resolving this. Any help

Need info

2008-04-01 Thread Mohd Saleem
  Hi, I am looking for Sample c++ code that connects with a certificate to a ssl server, performs hand shake and reads and writes data. I could not find much in openssl.org and google. If any body has some sample code, it will be great. Thanks, Saleem

Help Needed: Error loading cert from Char buffer

2008-03-28 Thread Mohd Saleem
Hi, I am trying to load a cert from a char buffer, I am getting an error, "error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag" This is the code snippet, could one somene please tell me what is the error ??? And how do we rectify it. Thanks, Saleem int SClient::loadCert(char *v_ce