对 PDF 文件进行数字签名 [英] Digitally sign PDF files
问题描述
我有一个用于识别用户的数字证书.我需要用它来对 pdf 文件进行数字签名.
I have a digital certificate that identifies an user. I need to use it to Digitally sign pdf files.
有没有人有不使用第三方组件的例子?我需要完成这件事,但如果能完全了解事情是如何完成的会很好.
Does anyone have an example that does not uses a third party component? I need to get this done but it would be nice to fully understand how things are done.
C# 示例请:)
推荐答案
开源iTextSharp 库将允许你这样做.这是一篇帖子,解释了如何对pdf文件.如果您不想使用第三方库,那么您可以自己实现它,但这可能是一项艰巨的任务 -> 您可以先阅读 pdf 规范 (8.6MB)
The open source iTextSharp library will allow you to do this. Here's a post explaining how to digitally sign a pdf file. If you don't want to use a third party library then you can implement it yourself but it could be a tough task -> you can start by reading the pdf specification (8.6MB)
这篇关于对 PDF 文件进行数字签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!