使用 PHP 验证签名的 PDF
我有带有数字签名的 PDF 文件。我还有证书(公开访问)。
我如何检查此 PDF 文件的 PHP 签名(以确保签名正确)?
I have PDF file with digital signature. Also i have certificate (public accessed).
How can i check with PHP signature of this PDF file (to be sure that signature is correct)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
密码学和 PKI 验证是一个复杂的过程。我只能建议您使用第 3 方解决方案,我不知道任何 PHP 实现。
我们使用基于 JAVA 的库,并使用 JRE 调用 JAVA 类。
这些库是:http://bouncycastle.org/ 和 http://itextpdf.sourceforge.net/howtosign.html#howtoverify
Cryptography and PKI verifying is a complex process. I can suggest you just 3rd party solutions, I do not know any PHP implementation.
We use a JAVA based library, and we call the JAVA classes with JRE.
The libraries are: http://bouncycastle.org/ and http://itextpdf.sourceforge.net/howtosign.html#howtoverify