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

Useless dependency in specific usage

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.8.6
    • Fix Version/s: 1.8.7
    • Component/s: Signing
    • Labels:

      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

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              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