Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3114

Visible signatures in different pages changes previous revision

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments


    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.8.10, 1.8.11, 2.0.0
    • 1.8.11, 2.0.0
    • Signing
    • None
    • Compiled with jdk1.8.0_60, tested with Adobe Acrobat XI Pro v.11.0.13
    • Important


      I tried to make two visible signatures in a 2-pages pdf file using pdfbox-2.0.0-RC1.

      I followed the example in SVN directory
      I have just modified CreateVisibleSignature class customizing the input parameters and the page to sign.

      If both the signatures are made in the same page, no error occurs. If signatures are made in different pages (e.g. signature 1 in page 1 and signature 2 in page 2), when I open the pdf file with Adobe Acrobat XI Pro (v.11.0.13) it tells that signature 1 is not valid.

      The attachment below refers to the source/resourse zip file. It contains:

      • test.docx: 2-pages test document generated with Microsoft Office Professional Plus 2013
      • test1.pdf: pdf version that generates error (created with Word by selecting "Save as Adobe PDF" option)
      • test1_*.pdf: signed pdf files with error
      • test2.pdf: pdf version that generates no error (created with Word by selecting "Save as" option and then "*.PDF")
      • test2_*.pdf: signed pdf files with no error
      • CreateVisibleSignature.java: customized source code
      • stamp.png: signature image
      • test.p12: key store (password 12345)


        1. test1_signedinvisible_p2.pdf
          46 kB
          Tilman Hausherr
        2. test1_p1p2_visualsigned_COSWriterCOSArrayModified_OK.pdf
          69 kB
          Tilman Hausherr
        3. test1_invisiblysignednoannotations_p1p2.pdf
          65 kB
          Tilman Hausherr
        4. test1_invisiblysigned_COSWriterModified_p1p2_ERR.pdf
          66 kB
          Tilman Hausherr
        5. test_Acrobat_iText.zip
          452 kB
          Luca Battistelli
        6. PDFBOX-3114-screenshot.png
          86 kB
          Tilman Hausherr
        7. pdfbox-2.0.0-RC1_issue.zip
          895 kB
          Luca Battistelli

        Issue Links


          This comment will be Viewable by All Users Viewable by All Users


            tilman Tilman Hausherr
            luca.bati@gmail.com Luca Battistelli
            11 Vote for this issue
            14 Start watching this issue




                Issue deployment