Jay Modi updated PDFBOX-3614:
    Attachment: bcprov.patch

Attached is a patch that removes the installation and uses the provider 

> 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
>         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

To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to