Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 imlpemented 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.

like image 983
LaBracca Avatar asked Jun 08 '11 15:06

LaBracca


People also ask

Why is a timestamp included with any message with a digital signature?

The timestamp will prove that the certificate was valid at the time it was signed, and because of this the timestamp never becomes invalid. This enables long term validation even if the certificate used or the root certificate is no longer valid, or if the CA is no longer active.

How do I create an electronic signature and save it?

You simply log in to your account and choose 'Manage Profile'. Click the 'Signatures' tab and 'add new' to create an electronic signature. Choose from the menu of three different types depending on how you want to create your signature. You can upload a file, line draw or choose a pre-formatted option.


1 Answers

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.

like image 164
Eugene Mayevski 'Callback Avatar answered Sep 22 '22 07:09

Eugene Mayevski 'Callback