Java JCE无限强度加密安全策略文件

Java JCE无限强度加密安全策略文件

问题描述:

在JRE更新后,JCE策略文件(在{java.home} / lib / security中)是否覆盖了标准强度策略文件?还是单独使用JRE更新?

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?

编辑:有人知道Mac OS X JRE是否附带无限制的策略文件?

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

谢谢

Jon

我使用JCE策略文件的经验,它确实取代了文件,我很沮丧。我最终在第一次运行时替换了这些文件。

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.

但是最后,使用Bouncy Castle API更合适,没有必要拥有无限的强度文件。这是一个更清洁的解决方案。

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 /