mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8347428: Avoid using secret-key in specifications
Reviewed-by: mullan
This commit is contained in:
parent
618c5eb27b
commit
43979fb1be
7 changed files with 28 additions and 28 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -820,7 +820,7 @@ public final class JceKeyStore extends KeyStoreSpi {
|
|||
// Add the entry to the list
|
||||
entries.put(alias, entry);
|
||||
|
||||
} else if (tag == 3) { // secret-key entry
|
||||
} else if (tag == 3) { // secret key entry
|
||||
secretKeyCount++;
|
||||
SecretKeyEntry entry = new SecretKeyEntry();
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -566,7 +566,7 @@ public final class SunJCE extends Provider {
|
|||
null);
|
||||
|
||||
/*
|
||||
* Secret-key factories
|
||||
* Secret key factories
|
||||
*/
|
||||
ps("SecretKeyFactory", "DES",
|
||||
"com.sun.crypto.provider.DESKeyFactory");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue