hg: jdk/jdk11: 8205720: KeyFactory#getKeySpec and translateKey thorws NullPointerException with Invalid key
valerie.peng at oracle.com
valerie.peng at oracle.com
Sat Jun 30 00:40:12 UTC 2018
Changeset: ebff24bd9302
Author: valeriep
Date: 2018-06-30 00:33 +0000
URL: http://hg.openjdk.java.net/jdk/jdk11/rev/ebff24bd9302
8205720: KeyFactory#getKeySpec and translateKey thorws NullPointerException with Invalid key
Summary: Updated SunRsaSign provider to check and throw InvalidKeyException for null key algo/format/encoding
Reviewed-by: xuelei
! src/java.base/share/classes/sun/security/rsa/RSAKeyFactory.java
! src/java.base/share/classes/sun/security/rsa/RSAPrivateCrtKeyImpl.java
! src/java.base/share/classes/sun/security/rsa/RSAPublicKeyImpl.java
! src/java.base/share/classes/sun/security/rsa/RSAUtil.java
More information about the jdk-changes
mailing list