Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JCE Unlimited Strength Jurisdiction Policy ファイルが JVM に正しくインストールされているかどうかはわかりません (システムの他の部分が正しくインストールされていないかのように動作するため)。
これらのファイルが実際に JVM によって使用されているかどうかを確認するために使用できるコード サンプルを提供してもらえますか?
次のコードスニペットでテストできることがわかりました。
int maxKeyLen = Cipher.getMaxAllowedKeyLength("AES"); System.out.println(maxKeyLen);
無制限の強度のポリシーファイルがないと、結果は128になり、正しくインストールされた後の結果は2147483647になります。