Java JCE Unlimited strength encryption security po

2019-04-12 02:59发布

问题:

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

回答1:

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/