-
Bug
-
Resolution: Fixed
-
P3
-
10
-
b16
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8226246 | openjdk8u232 | Andrew Hughes | P3 | Resolved | Fixed | b01 |
JDK-8226858 | openjdk8u222 | Andrew Hughes | P3 | Resolved | Fixed | b08 |
JDK-8227882 | openjdk7u | Andrew Hughes | P3 | Resolved | Fixed | master |
This issue found during Wycheproof Test execution while generating "Brainpool" keypairs it throws "java.security.ProviderException" instead of "java.security.InvalidAlgorithmParameterException".
By looking into the Source code in "ECKeyPairGenerator.java[line: 146]", It looks like actual exception "java.security.InvalidAlgorithmParameterException" is wrapped by "java.security.ProviderException".
Not sure which exception is right and expected. This bug is to find which exception type is correct to be thrown outside.
By looking into the Source code in "ECKeyPairGenerator.java[line: 146]", It looks like actual exception "java.security.InvalidAlgorithmParameterException" is wrapped by "java.security.ProviderException".
Not sure which exception is right and expected. This bug is to find which exception type is correct to be thrown outside.
- backported by
-
JDK-8226246 SunEC throws ProviderException on invalid curves
- Resolved
-
JDK-8226858 SunEC throws ProviderException on invalid curves
- Resolved
-
JDK-8227882 SunEC throws ProviderException on invalid curves
- Resolved
- relates to
-
JDK-8184290 SunPKCS11 throws ProviderException for unsupported curves
- Closed