RFR 8223053: [xmldsig] Add KeyValue::EC_TYPE

Sean Mullan sean.mullan at oracle.com
Wed May 29 15:39:20 UTC 2019


On 5/29/19 12:28 AM, Weijun Wang wrote:
> 
> 
>> On May 28, 2019, at 10:12 PM, Sean Mullan <sean.mullan at oracle.com> wrote:
>>
>> Also, in the Release Note, can you mention that the JDK implementation does not support ECParametersType.

I realize now that this is the wrong place to document this. The JDK 
implementation has supported EC keys for a while now. The release note 
should be just about what is new. We will need to find a different place 
to document this but I don't know the exact place so let's table it for now.

> Please review it at https://bugs.openjdk.java.net/browse/JDK-8224943.

I would reword this based on the above. Suggest simply:

A new `EC_TYPE` constant has been added to the 
`javax.xml.crypto.dsig.keyinfo.KeyValue` interface, which represents the 
`ECKeyValue` type as described in the [W3C Recommendation for 
XML-Signature Syntax and 
Processing](https://www.w3.org/TR/xmldsig-core/#sec-ECKeyValue).

--Sean



More information about the security-dev mailing list