PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Dec 08, 2024 2:57 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Sep 16, 2024 6:37 pm 
Offline

Joined: Mon Sep 16, 2024 6:06 pm
Posts: 3
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


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 17, 2024 6:14 am 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1019
Location: CCAA
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.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 17, 2024 8:24 am 
Offline

Joined: Mon Sep 16, 2024 6:06 pm
Posts: 3
Thanks for the tip

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

can u point me ?


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 17, 2024 10:48 am 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1019
Location: CCAA
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

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 17, 2024 5:03 pm 
Offline

Joined: Mon Sep 16, 2024 6:06 pm
Posts: 3
thanks for the help, but... too much for me... :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 33 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group