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

Unable re-write PDDocument.addSignature()

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: Signing
    • Labels:
      None

      Description

      First of all congratulation for the new version!

      With PDFBox 1.8.x I was able to re-write the addSignature() function in order to sign in an existing empty visible signature field.
      When I wanted to redo the same with this new version, I failed because the setter COSDocument.setSignatureInterface() does not exist anymore and I found no way to set the signature interface without re-writing a ton of Java classes.

      Now I may have a clean solution: make some attributes protected in PDDocument in order to extend it and override some functions.

      You may have a better idea.
      Thank you.

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              cbremaud Cyril Bremaud
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: