-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b155
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8174639 | 10 | Xuelei Fan | P2 | Resolved | Fixed | b01 |
AlgorithmParameterGenerator apg =
AlgorithmParameterGenerator.getInstance("DiffieHellman");
apg.init(4096);
breaks for 4096 key length with following exception
java.security.InvalidParameterException: DH key size must be multiple of 64 and range from 512 to 1024 (inclusive), or 2048, 3072. The specific key size 4096 is not supported
spec mandates that every implementation of AlgorithmParameterGenerator should support "DiffieHellman" with 4096 keylength
AlgorithmParameterGenerator.getInstance("DiffieHellman");
apg.init(4096);
breaks for 4096 key length with following exception
java.security.InvalidParameterException: DH key size must be multiple of 64 and range from 512 to 1024 (inclusive), or 2048, 3072. The specific key size 4096 is not supported
spec mandates that every implementation of AlgorithmParameterGenerator should support "DiffieHellman" with 4096 keylength
- backported by
-
JDK-8174639 4096 is not supported yet for the DH Parameter Generator
-
- Resolved
-
- relates to
-
JDK-8015388 Required algorithms for JDK 9
-
- Resolved
-
-
JDK-8173298 Update KeySize Restrictions sections of Oracle Providers doc
-
- Resolved
-