RE: problem verifying signature from java

2005-06-22 Thread Madhu Sudhan Reddy
Behalf Of coco coco Sent: Thursday, June 23, 2005 10:58 AM To: openssl-users@openssl.org Subject: Re: problem verifying signature from java > >To rule out any problems with your OpenSSL code I'd suggest you check the >signatures using the dgst command and if there are problems analyz

Re: problem verifying signature from java

2005-06-22 Thread coco coco
To rule out any problems with your OpenSSL code I'd suggest you check the signatures using the dgst command and if there are problems analyze them using rsautl. Thanks for the reply. I got it, by examining basically every function that touches my data. So, in the end, it was the base64 libr

RE: problem verifying signature from java

2005-06-22 Thread coco coco
Did you got any break through. Sorry, didn't read this list for a while. Actually, the code I put up in my question was correct. The problem was with a Base64 lib that I linked with in C++. The implementation of the library has a small bug, which does not handle the '+' char properly. That'

Re: problem verifying signature from java

2005-06-21 Thread Dr. Stephen Henson
On Thu, Jun 16, 2005, coco coco wrote: > > Sorry to disappoint you, I've been banging my head on the monitor for > 2 days now, going over the code and manual/api docs/examples/google > for so many times, and I'm still having difficulties to get openssl and Java > work together. All my crypto codi

RE: problem verifying signature from java

2005-06-19 Thread Madhu Sudhan Reddy
Did you got any break through. -Madhu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of coco coco Sent: Friday, June 17, 2005 6:49 AM To: openssl-users@openssl.org Subject: RE: problem verifying signature from java > I am also facing the simi

RE: problem verifying signature from java

2005-06-16 Thread coco coco
I am also facing the similar problem. I am generating signature using OpenSSL and passing in to JAVA to verify (running JAVA test suite). Signature format is in DER encoded PKCS#7 format. But JAVA is not able to parse the "SignedData" content in the PKCS#7 format. It is giving "

RE: problem verifying signature from java

2005-06-16 Thread Madhu Sudhan Reddy
lf Of coco coco Sent: Wednesday, June 15, 2005 5:17 PM To: openssl-users@openssl.org Subject: problem verifying signature from java I'm trying to get a client application written in C++ using OpenSSL to verify a signature sent by a server (in Java) and vice versa. Not sure I specified it corre

problem verifying signature from java

2005-06-15 Thread coco coco
I'm trying to get a client application written in C++ using OpenSSL to verify a signature sent by a server (in Java) and vice versa. Not sure I specified it correctly, but the signatures generated on both sides, from the same input data, are not the same, and therefore, can't be verify. And this