RE: converting raw signature to PKCS#7 format

2000-09-19 Thread Marco Donati
The usual way to do this kind of thing is to write your own RSA_METHOD to hand over the signing operation (which will probably be RSA_private_encrypt() ) to the smart card, then place the result in an EVP_PKEY structure. What this ultimately does it calls application supplied functions when

Re: converting raw signature to PKCS#7 format

2000-09-19 Thread Dr S N Henson
Marco Donati wrote: The usual way to do this kind of thing is to write your own RSA_METHOD to hand over the signing operation (which will probably be RSA_private_encrypt() ) to the smart card, then place the result in an EVP_PKEY structure. What this ultimately does it calls

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