java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException: Only named ECParameters supported

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Your key is invalid or you're forgetting to decode it first

Solutions on the web

via Stack Overflow by James Bond
, 9 months ago
java.security.InvalidKeyException: IOException: Only named ECParameters supported
java.security.InvalidKeyException: IOException: Only named ECParameters supported
at sun.security.x509.X509Key.decode(Unknown Source)
at sun.security.ec.ECPublicKeyImpl.(ECPublicKeyImpl.java:69)
at sun.security.ec.ECKeyFactory.implGeneratePublic(ECKeyFactory.java:219)
at sun.security.ec.ECKeyFactory.engineGeneratePublic(ECKeyFactory.java:153)
at undefined.Main.a(Main.java:53)
at undefined.Main.main(Main.java:37)

Users with the same issue

Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 4 hours ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.