RFR [jdk11]: 8223940: Private key not supported by chosen signature algorithm

Baesken, Matthias matthias.baesken at sap.com
Mon Jun 8 15:14:21 UTC 2020


Hello, please review the jdk11 backport of  8223940: Private key not supported by chosen signature algorithm  .

I had to do a few adjustments to the jdk/jdk change for jdk11 :

-The algorithmConstraints  - parameter  of  getSignerOfPreferableAlgorithm
Is not present in jdk11 so this is   missing from the calls in the jdk11 webrev  (see for example
src/java.base/share/classes/sun/security/ssl/DHServerKeyExchange.java  ).

In src/java.base/share/classes/sun/security/ssl/SignatureScheme.java ,  the SignatureUtil.initVerifyWithParam   calls were changed .



Bug/webrev :
https://bugs.openjdk.java.net/browse/JDK-8223940

http://cr.openjdk.java.net/~mbaesken/webrevs/8223940_jdk11_0/

Webrev from jdk/jdk :

https://hg.openjdk.java.net/jdk/jdk/rev/d6e682e8fcc3

Thanks, Matthias


More information about the jdk-updates-dev mailing list