Andreas Lehmkühler created PDFBOX-5693:
------------------------------------------

             Summary: Consolidate bouncycastle configuration
                 Key: PDFBOX-5693
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5693
             Project: PDFBox
          Issue Type: Improvement
          Components: Crypto
    Affects Versions: 3.0.0 PDFBox, 2.0.29
            Reporter: Andreas Lehmkühler
            Assignee: Andreas Lehmkühler
             Fix For: 2.0.30, 3.0.1 PDFBox, 4.0.0


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to