How do I add a new/additional security provider to my system?
- Update the /lib/security/java.security file under the Java runtime installation directory to specify the new provider. There must be at least one installed. The default provider that comes with Sun's JDK is sun.security.provider.Sun. If you get your environment from another source, this provider could differ.
- Add the new provider with Security.addProvider (Provider). While this mechanism may seem preferred, it actually isn't. If a better provider is found, where better means stronger or harder to break crypto algorithm, then the program needs to be recompiled and redistributed.