[ 
https://issues.apache.org/jira/browse/PDFBOX-3614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler updated PDFBOX-3614:
---------------------------------------
    Fix Version/s: 3.0.0
                   2.0.6

> Directly use the BouncyCastleProvider rather than installing it
> ---------------------------------------------------------------
>
>                 Key: PDFBOX-3614
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3614
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 2.0.3
>            Reporter: Jay Modi
>             Fix For: 2.0.6, 3.0.0
>
>         Attachments: bcprov.patch
>
>
> The BouncyCastleProvider is in installed in a static block and this makes it 
> available to other code, when the usage can be contained to a single class 
> inside of PDFBox by using the provider directly. 
> Doing this also has the added advantage of not requiring additional security 
> permissions when running code that is protected by a SecurityManager. 
> Currently one needs to grant {code}permission 
> java.security.SecurityPermission "insertProvider"{code} since the provider is 
> being installed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to