RFC 3161时间戳信息如何存储在PHP中的PDF中?

发布于 2025-02-13 07:57:21 字数 377 浏览 0 评论 0原文

我已经被授予了应用的任务 将RFC 3161时间戳功能固定到我们的Laravel PDF构建器。因此,我们有PDF-我们需要一个时间戳,但是关于如何确保文件本身有效,这有点开放。

许多桌面产品(如Adobe Acrobat和Xolido)都可以使用用户指定的TSA生成时间戳PDF,这与RAW PDF不同。但是,我需要在Laravel服务器上使用此确切的功能 - 这是如何发生的?时间戳在PDF内部在哪里,Adobe Acrobat对PDF本身有什么作用?

有许多库用于使用freetsa.org或其他TSA服务器之类的内容来获取文件和计算时间戳密码。

放置文件并将其发送到服务器后,我将获得响应和时间戳 - 但是如何将此信息存储在PDF中?它是否存储在PDF的元数据中,例如作者,关键字或元部分?

I have been given a task to apply a
secure RFC 3161 timestamping functionality to our Laravel PDF builder. So we have the PDF - we need a timestamp, but it is somewhat open ended as to how we make sure the file itself is valid.

Many desktop products like Adobe Acrobat and Xolido can generate a timestamped PDF using a user specified TSA, which is different from the raw PDF. However, I need this exact functionality on a Laravel server - how does this happen? Where does the timestamp go inside the PDF and what does Adobe Acrobat do to the PDF itself?

There are many libraries for taking a file and calculating the timestamp cryptographically using something like freetsa.org or other TSA servers.

Once I hash the file and send it to the server, I obtain a response and a timestamp - but how do I store this information in the PDF? Is it stored in the metadata of a PDF, like the author, keywords, or meta section?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文