How to digitally sign PDF documents in a web application?

我只是一个虾纸丫 提交于 2019-12-20 09:02:09

问题


I'm building a web application that most allow the user to digitally sign PDF documents with certificates installed in the client machine.

The document, once signed, should be posted back to the server, where it will store the signed version.

The server is running Classic ASP/ASP.NET

Where should I go?


回答1:


I actually built a system just like this into our web application. Here are some links I found tremendously helpful in doing so:

http://www.codeproject.com/KB/vb/Digital_Signatures.aspx

http://www.devx.com/security/Article/17249/0/page/2

http://www.example-code.com/vbdotnet/digSig1.asp

http://www.abanet.org/scitech/ec/isc/dsg-tutorial.html

http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=sdkHelp&file=signaturesSigning.90.4.html

http://www.c-sharpcorner.com/UploadFile/Gowri%20S%20Paramasivam/Cryptography211242005003308AM/Cryptography2.aspx




回答2:


Look for java libraries to sign PDF documents. You can deploy them in an applet which should fit in your web application. If users need to preview the PDF documents before signing them then look at the java bean jPDFNotes from Qoppa Software. If the documents can be signed without preview, look at their other libraries jPDFFields or jPDFProcess. There is also iText an open source library but iText doesn't support viewing documents so it will only work in the second scenario.




回答3:


Try Adobe LiveCycle Designer
This comes with the Adobe Master Suit and has all the capabilities for ES. It works with PKI infrastructure and will Publish "certified" PDF documents that prove authenticity for recipients. It's better to start with something that already exists.




回答4:


I would use iTextSharp to sign the PDF. iTextSharp is free and open source. Take a look at the sample code signing PDF http://itextpdf.sourceforge.net/howtosign.html I have used iTextSharp before reliably.




回答5:


I use to write the FDF to PDF programming from Adobe FDF toolkit. I could take the full version of Acrobat Pro and use a W-2 , I-9 Federal Forms place fields and a signature box and with Topaz Systems signature pads, based on pressure points, angles etc... the activex algorithm would save the signature and everything into the sql server database, and i could go the other way and populate a PDF from SQL Server.




回答6:


Our SecureBlackbox library has a distributed cryptography add-on which does what you need. Client-side modules that do signing can be extended by the user (we provide complete source code). You will find detailed description of the add-on on our site or in this SO answer.




回答7:


Go to http://www.certisign.com.br/ they have the answer for you. CertSign has API's and training to enable digital certification.

This place did exactly what you need when I renewed my digital CPF http://loja.certificadodigital.com.br/Serasa/Serasa-Certificados-Digitais/D1




回答8:


We do this using Silverlight with BouncyCastle in the client and iTextSharp in the server.



来源:https://stackoverflow.com/questions/2147732/how-to-digitally-sign-pdf-documents-in-a-web-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!