git: openjdk/jdk: 8263404: RsaPrivateKeySpec is always recognized as RSAPrivateCrtKeySpec in RSAKeyFactory.engineGetKeySpec

Valerie Peng valeriep at openjdk.java.net
Mon Mar 29 20:15:59 UTC 2021


Changeset: a5d7de23
Author:    Ziyi Luo <luoziyi at openjdk.org>
Committer: Valerie Peng <valeriep at openjdk.org>
Date:      2021-03-29 20:14:47 +0000
URL:       https://git.openjdk.java.net/jdk/commit/a5d7de23

8263404: RsaPrivateKeySpec is always recognized as RSAPrivateCrtKeySpec in RSAKeyFactory.engineGetKeySpec

Co-authored-by: Greg Rubin <rubin at amazon.com>
Reviewed-by: valeriep

! src/java.base/share/classes/sun/security/rsa/RSAKeyFactory.java
! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11RSAKeyFactory.java
! test/jdk/java/security/KeyFactory/KeyFactoryGetKeySpecForInvalidSpec.java
! test/jdk/sun/security/pkcs11/PKCS11Test.java
+ test/jdk/sun/security/pkcs11/nss/p11-nss-sensitive.txt
+ test/jdk/sun/security/pkcs11/rsa/TestP11KeyFactoryGetRSAKeySpec.java



More information about the jdk-changes mailing list