JDK-8213009 : Refactoring existing SunMSCAPI classes
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: javax.crypto
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2018-10-26
  • Updated: 2020-06-09
  • Resolved: 2018-12-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12 JDK 13 JDK 8 Other
11.0.7-oracleFixed 12Fixed 13 teamFixed 8u251Fixed openjdk8u252Fixed
Description
There are 2 problems with the existing SunMSCAPI classes:

1. They support RSA only, so we see names like RSAPrivateKey, RSAPublicKey, RSASignature.

2. They have the same names as base JCA classes. For example, Key, KeyStore. This is often confusing.
Comments
Fix request (11u) I would like to downport this for parity with 11.0.7-oracle. JDK-8213010: Supporting keys created with certmgr.exe was also downported by oracle and depends on this. The change does not apply well. A later change (8218553: Enhance keystore load debug output) was already downported causing conflicts. A predecessor, JDK-8210476, is missing causing more conflicts. I requested downporting the predecessor, and resolved this change on top of this, see review: http://mail.openjdk.java.net/pipermail/jdk-updates-dev/2019-December/002265.html
19-12-2019