8347428: Avoid using secret-key in specifications

Reviewed-by: mullan
This commit is contained in:
Ben Perez 2025-02-03 22:14:38 +00:00
parent 618c5eb27b
commit 43979fb1be
7 changed files with 28 additions and 28 deletions

View file

@ -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();

View file

@ -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");