Jay Modi created PDFBOX-3614:
--------------------------------
Summary: 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
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.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]