elliptic-curvejarsignerjar-signingecdsa

Which elliptic curves does jarsigner support?


I will be signing JARs with an ECDSA key, and I can choose now which elliptic curve I will use. I at least need to be able to generate the signature with jarsigner. Where can I see, what elliptic curves jarsigner supports?

I tested that out of 65 elliptic curves supported by my OpenSSL installation, my jarsigner supports 46. Oracle documentation on jarsigner does not say anything about what is supported. Is it documented anywhere at all?


Solution

  • Here is an answer: "Support for elliptic curves by jarsigner". To quote the conclusion:

    Support of elliptic curves by jarsigner depends on jarsigner itself and on the JRE configuration. There is no command-line option to list all supported curves.