converting raw signature to PKCS#7 format

2000-09-18 Thread Vivek Dasgupta
Hi I have a library which signs data on a smart card and returns 128 bytes signature. Now the problem is how to convert it into PKCS#7 so that it can be verified by a PKCS#7 compliant verify tool. Is there any utility which can convert raw signature to a PKCS#7 object. The platform on

Re: form signing and verification

2000-07-19 Thread Vivek Dasgupta
On Wed, 19 July 2000, Yuji Shinozaki wrote: How are you creating foo.b64? What does it look like? Thanks The problem was with '\n' characters not taken care of in the signature file. Now both the following commands work properly. openssl base64 -d -in $valid \ | openssl pkcs7 -out

Re: form signing and verification

2000-07-19 Thread Vivek Dasgupta
On Wed, 19 July 2000, Yuji Shinozaki wrote: How are you creating foo.b64? What does it look like? Thanks The problem was with '\n' characters not taken care of in the signature file. Now both the following commands work properly. openssl base64 -d -in $valid \ | openssl pkcs7 -out

can crypto.signText use md5?

2000-07-19 Thread Vivek Dasgupta
Hi In crypto.signText documentation it is written that it hashes using SHA. Can it be made to use md5 for digital signature on a form data? Thanks Vivek ___ $1 million in prizes! 20 daily instant winners. AltaVista

form signing and verification

2000-07-18 Thread Vivek Dasgupta
Hi How to sign form data and verify at server? I have netscape 4.72 with PKCS#11 CRYPTO MODULES I have also tested javascript method crypto.signText at client side to sign form data. It displays communicator window to signing but gives internal error after pressing OK. On server side does