PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

PDFSharp - Signing PDF multiple times
http://forum.pdfsharp.com/viewtopic.php?f=2&t=4676
Page 1 of 1

Author:  luiscurado [ Mon Sep 16, 2024 6:37 pm ]
Post subject:  PDFSharp - Signing PDF multiple times

Hello

Im trying to sign a PDF multiple times, with a pfx certificate.

When i sign first time, it works fine. i can open the PDF in Acrobat and shows the signature.

When i sign with a second certificate, theres no error, but when i open it in Acrobat, in the signatures pane, the signature becames unrecognizable, and in the properties says "Error inSigDict/Contents illegal data"

the second signature its ok.

So, i believe that the second signature is breaking the first one..

is there some parameter that i have to include to accept multiple signatures ?

many thanks in advanced

Author:  TH-Soft [ Tue Sep 17, 2024 6:14 am ]
Post subject:  Re: PDFSharp - Signing PDF multiple times

luiscurado wrote:
So, i believe that the second signature is breaking the first one.
There are PRs to support incremental updates, but incremental updates are not yet included in the NuGet packages.

So only use a single signature - or try the code from the PRs on GitHub.

Author:  luiscurado [ Tue Sep 17, 2024 8:24 am ]
Post subject:  Re: PDFSharp - Signing PDF multiple times

Thanks for the tip

but im new in this.. and i dont know whats a PR...

can u point me ?

Author:  TH-Soft [ Tue Sep 17, 2024 10:48 am ]
Post subject:  Re: PDFSharp - Signing PDF multiple times

PR stands for Pull Request.
You can download the source code and the PRs from GitHub and compile your own PDFsharp DLLs.

https://github.com/empira/PDFsharp/pull/112

Author:  luiscurado [ Tue Sep 17, 2024 5:03 pm ]
Post subject:  Re: PDFSharp - Signing PDF multiple times

thanks for the help, but... too much for me... :)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/