Re: {Spam?} Invalid signature with PKCS11

2010-06-05 Thread Fares Gianluca
Thanks TIM, it works as expected. On 6/5/10 2:20 AM, "Tim Hudson" wrote: > On 5/06/2010 12:56 AM, Fares Gianluca wrote: >> Hi all, >> I¹m try to figure out why my X509_REQ signature is always not verified. >> I¹m using openssl-1.0.0 and gclib.dll provided by gemalto. > > It is helpful to actu

Re: {Spam?} Invalid signature with PKCS11

2010-06-04 Thread Tim Hudson
On 5/06/2010 12:56 AM, Fares Gianluca wrote: Hi all, I’m try to figure out why my X509_REQ signature is always not verified. I’m using openssl-1.0.0 and gclib.dll provided by gemalto. It is helpful to actually provide a complete working example rather than just a subset. However in this case t

Invalid signature with PKCS11

2010-06-04 Thread Fares Gianluca
Hi all, I¹m try to figure out why my X509_REQ signature is always not verified. I¹m using openssl-1.0.0 and gclib.dll provided by gemalto. Here is my code: // Some declarations are omitted CK_BYTE data[2][1024]; CK_ATTRIBUTE keyAttr[] = { {CKA_MODULUS, (void *)data[0], 1024},