Way to enumerate all elliptic curve names available in Java?
问题 Is there some way to enumerate all of the elliptic curve names that can be given to the ECGenParameterSpec constructor? Or do you have to just throw a big list of curve names at the wall and see which ones do or don't throw execeptions when you try to use them? 回答1: It depends very much on the provider you want to use. As stated by user69513, you'll want to consult the documentation. And there lies the most basic of problems. For the SunEC provider, the documentation is nowhere to be found,