PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 7:06 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Adding digital signature
PostPosted: Thu Oct 05, 2023 2:54 pm 
Offline

Joined: Thu Oct 05, 2023 2:47 pm
Posts: 2
Hi,

I would like to add digital signature to my document in the version of 6.0.0-preview-3 but I couldn't find an option for that.
PdfSignatureHandler and PdfSignatureOptions classes are completely missing from this release.
How can I digitally sign my document in 6.0.0?

Thank you for your answer.


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 05, 2023 7:55 pm 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 916
Location: CCAA
pvt.peter wrote:
PdfSignatureHandler and PdfSignatureOptions classes are completely missing from this release.
So far, those classes were never included with any release of PDFsharp.

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


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 06, 2023 8:31 am 
Offline

Joined: Thu Oct 05, 2023 2:47 pm
Posts: 2
Oh, yes, you are right.
In the meantime, I found out that we are using a version that was not included in the official product, unfortunately.
Here is the discussion about this modification: Support of digital signatures #10


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 20, 2023 2:45 pm 
Offline

Joined: Mon Oct 05, 2020 9:28 am
Posts: 16
Hi,

I started porting the 1.5 pull request #10/#11 you refer to on the new PdfSHarp 6 version and here is the new pull request:
https://github.com/empira/PDFsharp/pull/48

There are minor changes in BouncySigner (it now uses BouncyCastle 2) and in ISigner signature.

It's still draft though: appearance seems to not display well.

Let me know any suggestions.


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 07, 2023 4:39 pm 
Offline

Joined: Mon Oct 05, 2020 9:28 am
Posts: 16
Digital signature of PDF is now available in this fork package:
https://www.nuget.org/packages/PDFsharp-extended/

With a limitation though: it cannot yet sign already signed documents.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 01, 2024 5:53 pm 
Offline

Joined: Tue Dec 26, 2023 6:22 pm
Posts: 3
jraff wrote:
Digital signature of PDF is now available in this fork package:
https://www.nuget.org/packages/PDFsharp-extended/

With a limitation though: it cannot yet sign already signed documents.



I just want to add a signature field, not the signing itself. How I can achieve that?


Top
 Profile  
Reply with quote  
PostPosted: Tue Jan 02, 2024 8:34 am 
Offline

Joined: Mon Oct 05, 2020 9:28 am
Posts: 16
aamirmunir wrote:
jraff wrote:
Digital signature of PDF is now available in this fork package:
https://www.nuget.org/packages/PDFsharp-extended/

With a limitation though: it cannot yet sign already signed documents.



I just want to add a signature field, not the signing itself. How I can achieve that?


See my answer on the pull request.


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 402 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