I am developing an application for MAC OS X (in Qt c++) in which I want to Generate a PDF with digital signature. I am successful to making pdf void QPrinter::setOutputFormat (QPrinter::PdfFormat)
using this. But I am failed to make this pdf digitally signed in qt.
Asked
Active
Viewed 1,919 times
2

Cœur
- 37,241
- 25
- 195
- 267

Rohit Chauhan
- 151
- 1
- 3
- 14
-
The question is specific to Acrobat PDF and not Qt. You can use Qt but that is just a tool. – Alexander V Jun 08 '16 at 06:07
-
You may need to use a third party library if I'm reading [Qt's documentation](https://wiki.qt.io/Handling_PDF) correctly. – NonCreature0714 Jun 08 '16 at 06:20
1 Answers
2
You may need to use a third party library if I'm reading Qt's documentation correctly. Adding digital signatures without third party libraries is a very difficult task. According to this discussion, doing it manually should be avoided. This website also goes into depth about the issue. (Mind you, both of these pages are working in C#, not C++, but the subject/problem is highly parallel.)
I found this in a forum on Adobe's Website; which links to Datalogic's website. There is a free-trial option available. The library is exclusively in C/C++. "Extensive" code samples are included.
If you use Datalogic's library, which is Adobe's preferred library, you should be on the road to success.

Community
- 1
- 1

NonCreature0714
- 5,744
- 10
- 30
- 52