mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8223063: Support CNG RSA keys
Reviewed-by: mullan
This commit is contained in:
parent
b567fe0101
commit
0f56400907
6 changed files with 197 additions and 33 deletions
|
@ -3578,6 +3578,11 @@ public final class Main {
|
|||
{
|
||||
Key key = null;
|
||||
|
||||
if (KeyStoreUtil.isWindowsKeyStore(storetype)) {
|
||||
key = keyStore.getKey(alias, null);
|
||||
return Pair.of(key, null);
|
||||
}
|
||||
|
||||
if (keyStore.containsAlias(alias) == false) {
|
||||
MessageFormat form = new MessageFormat
|
||||
(rb.getString("Alias.alias.does.not.exist"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue