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
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.
来源:https://stackoverflow.com/questions/5239974/java-jce-unlimited-strength-encryption-security-policy-files