Delphi: how to do digital signature with timestamp of files?
Many customers of mine use a software for doing digital signatures. This software is called Dike and it is provided from the italian chamber of commerce and it interfaces to smart card hardware like this.
Now I would like from my application to do the digital signatures, bypassing the software that does it.
Is it possible to do this in Delphi, did anyone already did it? I would like to add timestamp too.
NOTE FOR BOUNTY: I don't know how this is important outside of Italy, anyway in Italy there is a law that requires that certain documents are stored with particular rules. TO implmemetn this it is mandatory to digital sign and put a time stamp on the file (pfd files). Basically I ask "is it there anyonw that already imlpe开发者_如何学编程mented this in Delphi and found a succesful way. Can you share your results?". Basically there is a million of USB smartcard readers, I don't want to start supporting million of drivers in my application (I write an app that is in part a document management system), if there were seomthing like TWAIN is there for image scanner it would be great.
I could also accept the limitation to link to a specific hardware, so I can say if you want this feature you must buy this hardware, I don't want to support all the existing hardware or timestamp/digital signatures web services. So what I am looking for is Time Stamp and Digital Signature for pdf files for Delphi 1-0-1. I hope I expressed my self if not please ask.
Our SecureBlackbox product provides full scope of PKI functionality including signing and timestamping data using CMS and CAdES formats and certificates can be located on PKCS#11-compatible smartcards. If you are looking for PDF signing and timestamping, then SecureBlackbox supports them as well (via PAdES standard).
SecureBlackbox is available for Delphi 4 to XE2 and supports 64-bit Windows.
We have clients form Italy who do exactly what you need.
You mays also look at Gnostice PDFToolkit VCL wich allow you to "edit, secure, merge, split, view, digitally sign PDF documents".
with signtool:
c:\BinPath\signtool.exe sign /f c:\BinPath\Mypfxfile.pfx /p MyPassword
/t http:// timestamp.verisign.com/scripts/timstamp.dll c:\BinPath\Project1.exe
精彩评论