Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 7 Monaten, 1 Woche
Letzter Beitrag:
vor 7 Monaten, 1 Woche
Beteiligte Autoren:
Peter Holemans, Gianni Spano

[WD] Digital sign of a file (.pdf, .doc, etc..etc)

Startbeitrag von Gianni Spano am 05.12.2017 13:18


I have a user who needs to digital sign frequently some files to send further to Italian Public Administration's offices and they need to be signed using a smartcard to produce a signed file with the extension ".p7m".

Is there some example somewhere for WD on how to add a digital sign on a file using a smartcard?? Or if someone has developed similar functions?

Suggestions and examples are welcome :)

Thanks in advance



Hi Gianni,

OpenSSL is your friend.
You can generate the .xxx file into an encrypted and signed .p7m using OpenSSL.
You should use the public key of your counterparty and your private key (coming from the card reader I guess).
With a simple command line script you next sign and encrypt the file into a p7m and next you can ftp/upload/exchange/... it with the counterparty.
They will than use your public key and their private key to decypt and validate the file.

I've implemented an exchange like that a couple of years ago between an ERP and a cloud based treasury system.

There are other solutions but OpenSSL is free (and community driven)...


Peter Holemans

von Peter Holemans - am 05.12.2017 16:01
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.