8345060: Remove Security Manager dependencies from java.security.KeyStore and Identity APIs and implementations

Reviewed-by: hchao, alanb, weijun
This commit is contained in:
Sean Mullan 2024-12-02 15:23:47 +00:00
parent 1ca764454b
commit 30b8bbe255
11 changed files with 96 additions and 231 deletions

View file

@ -981,9 +981,9 @@ public final class Main {
// if certProtectionAlgorithm and macAlgorithm are both NONE.
if (storetype.equalsIgnoreCase("pkcs12")) {
isPasswordlessKeyStore =
"NONE".equals(SecurityProperties.privilegedGetOverridable(
"NONE".equals(SecurityProperties.getOverridableProperty(
"keystore.pkcs12.certProtectionAlgorithm"))
&& "NONE".equals(SecurityProperties.privilegedGetOverridable(
&& "NONE".equals(SecurityProperties.getOverridableProperty(
"keystore.pkcs12.macAlgorithm"));
}