Support for ECParameters with explicit (not named) parameter spec
Adam Petcher
adam.petcher at oracle.com
Wed Dec 6 15:04:08 UTC 2017
On 12/6/2017 7:24 AM, Max Fichtelmann wrote:
> Hello,
>
> currently sun.security.util.ECParameters.engineInit(byte[]) is limited
> to parse named curves. A commented block outlining parsing of explicit
> parameters is included below throwing "only named ECParameters
> supported". That comment block seems to be unchanged from at least
> jdk6 up until jdk10.
>
> Is there any Plan to implement this at some time? Since I am needing
> to implement it anyway, how could I provide that change?
I don't know of any plan to implement this feature. Modern RFCs only
allow named curves here, so this feature doesn't seem to be very
valuable. Can you share why you want to parse specified EC domain
parameters? Sharing the motivation behind your enhancement may help you
find a sponsor for it.
You can find the instructions for contributing here[1]. I suggest you
discuss the change a bit more before spending any time preparing a
patch. Also, make sure you sign the contributor agreement before sending
any code.
[1] http://openjdk.java.net/contribute/
>
> Kind Regards,
>
> Max Fichtelmann
>
>
>
> *procilon IT-Logistics GmbH*
> Leipziger Straße 110
> 04425 Taucha bei Leipzig
> www.procilon.de
> <https://www.procilon.de?utm_source=email&utm_medium=mail_disclaimer&utm_campaign=mail_disclaimer_proTECTr-app_1215>
>
> ------------------------------------------------------------------------
> procilon IT-Systems GmbH & Co. KG
> Amtsgericht Leipzig HRA 16016
> Persönlich haftende Gesellschafterin:
> procentauri Beteiligungs- und Verwaltungsgesellschaft mbH
> Geschäftsführer Steffen Scholz, Amtsgericht Leipzig, Handelsregister
> HRB 25771
> ------------------------------------------------------------------------
> Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige
> vertrauliche Informationen enthalten.
> Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine
> Kenntnisnahme des Inhalts,
> eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt.
> Bitte benachrichtigen Sie uns und vernichten Sie die empfangene
> E-Mail. Vielen Dank.
> ------------------------------------------------------------------------
> This e-mail may contain trade secrets or privileged, undisclosed, or
> otherwise confidential information.
> If you have received this e-mail in error, you are hereby notified
> that any review,
> copying, or distribution of it is strictly prohibited.
> Please inform us immediately and destroy the original transmittal.
> Thank you for your cooperation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20171206/eaa0a72c/attachment.htm>
More information about the security-dev
mailing list