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

PDF signature invalid after second interactive field signed



    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.12, 2.0.13
    • Fix Version/s: 2.0.14, 3.0.0 PDFBox
    • Component/s: Signing
    • Labels:
    • Environment:


      Hi guys,

      I stumped on the problem with PDFBox and interactive field signing. I have PDF generated with OpenText StreamServe with two interactive fields for signing. See example 1 (streamserve_test_sig0.pdf) in attachement.

      When I use Adobe Reader I can sign both of the visual fields just fine but when I use PDFBox to sign one of this field the following signature is marked as invalid. Doesn't matter if I use PDFbox or sign it manually with Adobe Reader See example 3: 

      •  streamserve_test_sig3.pdf (signed by PDFBox) - valid
      •  streamserve_test_sig3.signed.pdf (signed 2nd by Adobe Reader) - invalid


      Also last example - when it´s signed first by Adobe Reader and then with PDFBox the signature seems valid but it says the document was "certified". See example 2 (streamserve_test_sig2.pdf)


      What could be wrong? When is signed whole document with PDFBox it works just fine.

      Thanks for response,













        1. streamserve_test_sig3.signed.pdf
          79 kB
          Martin Klíma
        2. streamserve_test_sig3.pdf
          52 kB
          Martin Klíma
        3. streamserve_test_sig2.pdf
          73 kB
          Martin Klíma
        4. streamserve_test_sig0.pdf
          5 kB
          Martin Klíma
        5. streamserve_test_sig0_signed by PDFBoxNEW.pdf
          30 kB
          Tilman Hausherr
        6. streamserve_test_sig0_signed by PDFBoxNEW_signed by AR.pdf
          40 kB
          Tilman Hausherr
        7. streamserve_test_sig0_saved.pdf
          10 kB
          Tilman Hausherr
        8. streamserve_test_sig0_saved_signed by PDFBox.pdf
          35 kB
          Tilman Hausherr
        9. streamserve_test_sig0_saved_signed by PDFBox_then_signed by AR.pdf
          45 kB
          Tilman Hausherr
        10. image-2018-12-04-11-14-32-676.png
          31 kB
          Martin Klíma
        11. image-2018-12-04-11-14-01-586.png
          28 kB
          Martin Klíma

          Issue Links



              • Assignee:
                tilman Tilman Hausherr
                Pooky Martin Klíma
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created: