Cyril Bremaud created PDFBOX-2236: ------------------------------------- Summary: Useless dependency in specific usage Key: PDFBOX-2236 URL: https://issues.apache.org/jira/browse/PDFBOX-2236 Project: PDFBox Issue Type: Wish Components: Signing Affects Versions: 1.8.6 Reporter: Cyril Bremaud Priority: Trivial Fix For: 1.8.7
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 ? -- This message was sent by Atlassian JIRA (v6.2#6252)