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

Consolidate bouncycastle configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.29, 3.0.0 PDFBox
    • 2.0.30, 3.0.1 PDFBox, 4.0.0
    • Crypto
    • 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

      Attachments

        Activity

          People

            lehmi Andreas Lehmkühler
            lehmi Andreas Lehmkühler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: