Hi Karsten,

yes, MCardPlugin does not handle the verify case, but I'm searching this information becouse I'm developping a plugin and don't know how the caller is supposed to pass these parameters.

Thanks


Karsten Ohme wrote:
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

    

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to