pades


iText5.x Setting pushbutton appearance without breaking Seal

≯℡__Kan透↙ 提交于 2019-12-11 13:08:29
问题 Here is the context: We add two empty pages to an existing pdf, each containing an empty pushbutton field We apply a PAdES B-B seal with all modification rights on the document We modify a pushbutton to insert an image in it When we try to modify the pushbutton appearance to set an image, the seal validity breaks with "unauthorized modification" no matter what we try. Here is a code sample: PdfReader pdfReader = new PdfReader("test.pdf"); PdfStamper pdfStamper = new PdfStamper(pdfReader,

how can I add PAdES-LTV using iText

▼魔方 西西 提交于 2019-11-27 09:39:14
I am trying to enable LTV in an already signed PDF document without LTV format. I have found the same example in all cases as described in the links How to enable LTV for a timestamp signature , iText LTV enabled - how to add more CRLs? , which, defines what is the procedure to obtain the expected result. It happens that I'm not working, it does not give me any error but I do not add the LTV. Some idea of why at the time of executing the following code does not give me any error but nevertheless I do not add the LTV. This is the method with which I am trying to add the LTV: public void addLtv

how can I add PAdES-LTV using iText

做~自己de王妃 提交于 2019-11-26 14:40:12
问题 I am trying to enable LTV in an already signed PDF document without LTV format. I have found the same example in all cases as described in the links How to enable LTV for a timestamp signature, iText LTV enabled - how to add more CRLs? , which, defines what is the procedure to obtain the expected result. It happens that I'm not working, it does not give me any error but I do not add the LTV. Some idea of why at the time of executing the following code does not give me any error but

工具导航Map