You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2017/05/05 10:17:04 UTC

[jira] [Resolved] (PDFBOX-3614) Directly use the BouncyCastleProvider rather than installing it

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

Andreas Lehmkühler resolved PDFBOX-3614.
----------------------------------------
    Resolution: Fixed
      Assignee: Andreas Lehmkühler

The solution provided by PDFBOX-2963 should solve this issue as well as PDFBox doesn't use insertProvider anymore.

> 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
>            Assignee: Andreas Lehmkühler
>             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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org