[jdk8u-dev] Integrated: 8263404: RsaPrivateKeySpec is always recognized as RSAPrivateCrtKeySpec in RSAKeyFactory.engineGetKeySpec

Paul Hohensee phh at openjdk.org
Thu Apr 13 18:27:41 UTC 2023


On Wed, 12 Apr 2023 23:20:36 GMT, Paul Hohensee <phh at openjdk.org> wrote:

> The backport from 11u was not clean because:
> 
> 1. the change to PKCS11Test.java affects code that does not exist in 8u, so is not included
> 2. the new test, TestP11KeyFactoryGetRSAKeySpec.java, uses /lib/testlibrary instead of /test/lib
> 
> The new test and the modified existing tests pass, and the jdk/test/sun/security/pkcs11 tests pass as well as they did before this change.

This pull request has now been integrated.

Changeset: 4445e5cc
Author:    Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/4445e5ccc86212c167a3af66ed6c4e6389905bef
Stats:     309 lines in 5 files changed: 252 ins; 24 del; 33 mod

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

Reviewed-by: simonis, mbalao, andrew
Backport-of: a5d7de235101696463dba22792703c6809ff7fc4

-------------

PR: https://git.openjdk.org/jdk8u-dev/pull/302


More information about the jdk8u-dev mailing list