RE: Error reading in certificate

2006-07-13 Thread Dawn R McClatchy
How do I please get removed from this mailing list?  I have no intelligent answer to contribute.    Dawn R McClatchyAlfred Thomas <[EMAIL PROTECTED]> wrote: >>d2i_X509_fp() is DER format. Try "rb" for the file mode. If it stilldoesn't work check the FAQ for details of how to >>get rea

Jean-Romain PAC wants to chat

2006-07-13 Thread Jean-Romain PAC
--- Jean-Romain PAC wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-5ab142a27d-232f567d64-d9adfe60c6dccd50 You'll need to

Index database corrupted

2006-07-13 Thread Jean-Romain PAC
Hello, It seems that my index.txt (OpenSSL) database is corrupted. When I try to add a new certificate, or want to do anything that will have an influence to the database, I have this error message : error creating name index:(2,1,7)How can I repair it ?Jean-Romain.

RE: Error reading in certificate

2006-07-13 Thread Alfred Thomas
>>d2i_X509_fp() is DER format. Try "rb" for the file mode. If it still doesn't work check the FAQ for details of how to >>get readable error descriptions. Hi Steve I get the following 3 errors: Library: system library Function: fread Reason: Unknown error Library: BI

RE: Error reading in certificate

2006-07-13 Thread Alfred Thomas
>>Since it looks like you're using windows I'd first of all try "rb"-Mode for fopen... Thanks Ted. The application runs on Windows CE. "rb" did not help. I will try to find a better error description __ OpenSSL Project

RE: Error reading in certificate

2006-07-13 Thread Alfred Thomas
>>d2i_X509_fp() is DER format. Try "rb" for the file mode. If it still doesn't work check the FAQ for details of how to >>get readable error descriptions. >>Steve. Thanks Steve. "rb" did not work. Will look for error descriptions now. Regards Alfred __

Re: Error reading in certificate

2006-07-13 Thread Bernhard Froehlich
Alfred Thomas wrote: Hi I have a X509 certificate I want to read into a X509 structure. When I do the following SSL command: openssl x509 -inform DER -in d:\certs\test.der -pubkey it displays the valid Public key etc. Now I use the following to read the certificate: X509 * x509 = NULL; FI

Re: Error reading in certificate

2006-07-13 Thread Dr. Stephen Henson
On Thu, Jul 13, 2006, Alfred Thomas wrote: > Hi > > I have a X509 certificate I want to read into a X509 structure. When I do > the following SSL command: > openssl x509 -inform DER -in d:\certs\test.der -pubkey > it displays the valid Public key etc. > > Now I use the following to read the c

Error reading in certificate

2006-07-13 Thread Alfred Thomas
Hi I have a X509 certificate I want to read into a X509 structure. When I do the following SSL command: openssl x509 -inform DER -in d:\certs\test.der -pubkey it displays the valid Public key etc. Now I use the following to read the certificate: X509 * x509 = NULL; FILE * file = fopen(fileNa

Re: openssl for xml

2006-07-13 Thread Marek Marcola
Hello, > Thanks for the help. This example uses EVP_rc2() > If I need to use a block cipher such as DES, I have to use IV and > padding. Can you direct me to such a sample code.? > I dont think this will work If I replace Evp_rc2 with EVP_des_cbc() In general this should work, as an example I atta

Re: openssl for xml

2006-07-13 Thread Kaushalye Kapuruge
Hi All, Think that I have to encrypt a certain xml doc with Triple DES alogorithm Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/> Is there a single call that I can get the encrypted data. All I can use is Evp_des_cbc(). Do I have to use this Evp_des_cbc() encryption 3 times? Th

Re: openssl for xml

2006-07-13 Thread Kaushalye Kapuruge
Hi, Thanks for the help. This example uses EVP_rc2() If I need to use a block cipher such as DES, I have to use IV and padding. Can you direct me to such a sample code.? I dont think this will work If I replace Evp_rc2 with EVP_des_cbc() -Cheers, Kau Marek Marcola wrote: Hello, I'd like i