We have a Java application where a job is scheduled to run every 5 minutes. In that job, there is a security component that does the following every time it is executed:
java.security.Security
.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
My questions are:
To clarify, I want to add Bouncy Castle security provider programmatically in my application and not statically via JRE. IMO, adding Bouncy Castle security provider once in the application is enough and I need not do in multiple times.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With