K
K
Kirill2017-04-11 14:00:19
PHP
Kirill, 2017-04-11 14:00:19

How to put watermark on PDF with digital signature?

Guys, hello!
Urgently need help!!!
Who faced such a task, which is described in the question?
I use domPDF to generate PDF, but this is one thing, I can watermark such a PDF file using the FDPF and FPDI libs.
But the customer has the task of putting a watermark also on a protected file with a digital signature.
The whole project has already been filed, everything is ready, I started to give up, and then a jamb surfaced that FPDI (free version) cannot put a watermark on a file with an EDS, because. it is compressed.
Guys, I urgently need help, my hair has already sat with this crap, please help. Sketch options for solving this problem and plus links, if possible! We need free solutions, because. the customer refuses to pay additional costs for the purchase of a library that can work with PDF, on which EDS.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2017-04-11
@Lobanov

EMNIP, when adding something to a file signed with an EDS, the signature becomes invalid. So watermarks must be added before signing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question