Hi,
I need to sign a file with certificate from smart card. Format should be PKCS7 (.p7s).
I'm using delphi XE.

Does anyone have sample code for it?
Or where could I see some examples for signing?

I tried to do it with wcrypt2.pas, but I'm doing it wrong.

I'm new in cryptographi, so if you could help me with that...?

Thank you