JDK-8143913 : MSCAPI keystore should accept Certificate[] in setEntry()
Type:Bug
Component:security-libs
Sub-Component:java.security
Priority:P4
Status:Resolved
Resolution:Fixed
OS:windows
Submitted:2015-11-24
Updated:2019-02-18
Resolved:2015-11-25
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.
The MSCAPI KeyStore.engineSetKeyEntry(...Certificate[] chain) has
entry.setCertificateChain((X509Certificate[]) chain);
If chain is not created as X509Certificate[], a ClassCastException will be thrown at runtime.