javaencryptionjcepolicyfiles

Java JCE Unlimited strength encryption security policy files


Are the JCE policy files (in {java.home}/lib/security) overwritten with the standard strength policy files after a JRE update? or are these left alone on JRE update?

EDIT: Does anyone know if the Mac OS X JRE ships with the unlimited policy files?

Thanks

Jon


Solution

  • In my experience using JCE policy files, it did replace the files and I was frustrated. I ended up replacing the files at first run.

    But at the end, using Bouncy Castle API was more appropriate, there was no need to have the unlimited strength files. It was a cleaner solution.

    http://www.bouncycastle.org/