Delphi:如何使用文件时间戳进行数字签名?

发布于 2024-11-14 15:13:28 字数 636 浏览 3 评论 0原文

我的许多客户使用软件进行数字签名。该软件称为 Dike,由意大利商会提供,它与 智能卡 硬件(例如 这个

现在我想从我的应用程序中绕过执行此操作的软件来进行数字签名。

在Delphi中可以做到这一点吗?有人已经做到了吗?我也想添加时间戳。

赏金注意事项: 我不知道这在意大利之外有多重要,无论如何,在意大利,有一项法律要求某些文件按照特定规则存储。要实现这一点,必须对文件(pfd 文件)进行数字签名并添加时间戳。 基本上我问“是否有任何人已经在Delphi中实现了这一点并找到了成功的方法。你能分享你的结果吗?”。 基本上有一百万个 USB 智能卡读卡器,我不想开始在我的应用程序中支持数百万个驱动程序(我编写了一个部分是文档管理系统的应用程序),如果有像 TWAIN 这样的东西用于图像扫描仪那就太好了。

我也可以接受链接到特定硬件的限制,所以我可以说,如果你想要这个功能,你必须购买这个硬件,我不想支持所有现有的硬件或时间戳/数字签名网络服务。 所以我正在寻找的是 Delphi 1-0-1 的 pdf 文件的时间戳和数字签名。我希望我表达了自己的想法,如果没有,请询​​问。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

听风念你 2024-11-21 15:13:28

我们的 SecureBlackbox 产品提供全面的 PKI 功能,包括使用 CMS 和 CAdES 格式和证书对数据进行签名和时间戳记位于 PKCS#11 兼容的智能卡上。如果您正在寻找 PDF 签名 和时间戳,那么 SecureBlackbox 也支持它们(通过 PAdES 标准)。

SecureBlackbox 适用于 Delphi 4 至 XE2,并支持 64 位 Windows。

我们的意大利客户可以满足您的需求。

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.

绿光 2024-11-21 15:13:28

您还可以查看Gnostice PDFToolkit VCL,它允许您“编辑、保护、合并、拆分、查看、数字签名 PDF 文档”。

You mays also look at Gnostice PDFToolkit VCL wich allow you to "edit, secure, merge, split, view, digitally sign PDF documents".

温折酒 2024-11-21 15:13:28

使用签名工具:

  c:\BinPath\signtool.exe sign /f c:\BinPath\Mypfxfile.pfx /p MyPassword 
  /t http:// timestamp.verisign.com/scripts/timstamp.dll c:\BinPath\Project1.exe

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
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文