Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.29, 3.0.0 PDFBox
-
None
Description
In org.apache.pdfbox.pdmodel.encryption.SecurityProvider.SecurityProvider() a Class.forName call is used to create an instance of the JCA provider org.bouncycastle.jce.provider.BouncyCastleProvider to be used as default provider. As bouncycastle is used to implement some of the crypto features it isn't needed to create that instance in such a general way.
Due to a refactoring of the crypto code the bcmail lib isn't necessary any more but is still referenced as dependency