Digitally sign PDF files

Sergio picture Sergio · Dec 18, 2008 · Viewed 79.9k times · Source

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# Examples please :)

Answer

Darin Dimitrov picture Darin Dimitrov · Dec 18, 2008

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)