Luiz Reuter Silva Torro wrote:
> Hello,
> how are the arguments expected to be passed to MSCComputeCrypt() when
> you want verify a signature?
> 
> 1) pInputData = <hash> and pOutputData = <signature>
> or
> 2) pInputData = <signature> and pOutputData = <hash>

At the first glance it seems that the MCardPlugin does not handle the
verify case. The documentation does not describe it. So you must sign
the data and verify it on your own to simulate the verify operation.

You can look at the version at:

http://web.inf.tu-dresden.de/~ko189283/MuscleCard/
http://web.inf.tu-dresden.de/~ko189283/MuscleCard/libmusclecardChanges.html

which should handle this correctly.

Regards,
Karsten

> 
> Thanks
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Muscle mailing list
> [email protected]
> http://lists.drizzle.com/mailman/listinfo/muscle

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to