mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8267319: Use larger default key sizes and algorithms based on CNSA
Reviewed-by: weijun, xuelei
This commit is contained in:
parent
c1048021fe
commit
313bc7f64f
29 changed files with 496 additions and 178 deletions
|
@ -1917,6 +1917,8 @@ public final class Main {
|
|||
keysize = SecurityProviderConstants.DEF_EC_KEY_SIZE;
|
||||
} else if ("RSA".equalsIgnoreCase(keyAlgName)) {
|
||||
keysize = SecurityProviderConstants.DEF_RSA_KEY_SIZE;
|
||||
} else if ("RSASSA-PSS".equalsIgnoreCase(keyAlgName)) {
|
||||
keysize = SecurityProviderConstants.DEF_RSASSA_PSS_KEY_SIZE;
|
||||
} else if ("DSA".equalsIgnoreCase(keyAlgName)) {
|
||||
keysize = SecurityProviderConstants.DEF_DSA_KEY_SIZE;
|
||||
} else if ("EdDSA".equalsIgnoreCase(keyAlgName)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue