We have requirement from client , They would like to add Same Signature in all pages (Know the PDF 2.0 Specification contradicts this one )
I ve succeeded some what(not i desired) in implementing the using Itext7.0.4 and itext 5.X
Using Itext 5.X: :
Added "
for (int p = 1; p <= writer.reader.getNumberOfPages(); p++) {
writer.addAnnotation(sigField, p);
} In PdfSignatureAppearance.java class it worked but in the signature panel on left side is showing only one signature
Ive seen the multiple appearance pdf, shows all pages signature in signature panel.
Kindly tell me is it right way of doing (ignore the PDF 2.0 specification ) and how to show all page signature in signature panel
Using Itext 7.0.4
its working as per https://github.com/mkl-public/testarea-itext7/blob/master/src/test/java/mkl/testarea/itext7/signature/ChangeSignatureAppearance.java
But its a 2 step process 1. creating Invisible signature pdf 2. Adding same signature to all pages
It is possible to do this in single step
If not possible kindly tell me which classes need to change or any work around option .