Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8182999

SunEC throws ProviderException on invalid curves

    XMLWordPrintable

Details

    • b16
    • Verified

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

                apetcher Adam Petcher (Inactive)
                ssahoo Sibabrata Sahoo
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: