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

Useless dependency in specific usage

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.8.6
    • 1.8.7
    • Signing

    Description

      In class org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSignDesigner line 324 you use Arrays.clone() method from BouncyCastle.

      This creates a dependency on BouncyCastle if we try to add a visual signature (computed by third party solution) to a pdf document.
      For this specific usage this dependency seems useless and could be avoided using the copy method of the class java.util.Arrays.

      Could you fix this issue in a future version ?

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            cbremaud Cyril Bremaud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified