You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Lux (JIRA)" <ji...@apache.org> on 2018/06/08 12:59:00 UTC

[jira] [Issue Comment Deleted] (PDFBOX-4239) How to avoid invalid signature after pdfbox modify a signed PDF

     [ https://issues.apache.org/jira/browse/PDFBOX-4239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lux updated PDFBOX-4239:
------------------------
    Comment: was deleted

(was: [~msahyoun][~tilman]
[~tilman] I just reply a mail with invalid signature property photo to you.
[~msahyoun] code like below :
stamper = new PdfStamper(reader,fos,'\0',true).
PdfContentByte pcb = stamper.getOverContent(0);
pcb.setFontAndSize(helv,9);
PdfAnnotation ann = PdfAnnotation.creatFreeText(stamper.getWriter,new Rectangel('','','',''),"xxxxxxxxx",pcb);
ann.serFlags(PdfAnnotation.FLAGS.PRINT);
stamper.addAnnotation(ann,0);)

> How to avoid invalid signature after pdfbox modify a signed PDF
> ---------------------------------------------------------------
>
>                 Key: PDFBOX-4239
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4239
>             Project: PDFBox
>          Issue Type: Wish
>          Components: Signing
>    Affects Versions: 2.0.2
>            Reporter: Lux
>            Priority: Major
>         Attachments: 0608_1.jpg
>
>
> Dear Team
> Our team need add some text into a signed PDF, But we got a pdf with an invalid signture.
> So that sometimes we can't view it on IE.
> Do you know how to avoid invalid signature after modify a signed pdf.
> Looking forward your reply. Thanks in advance.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org