[9] Request for Review: 8046724: XML Signature ECKeyValue elements cannot be marshalled or unmarshalled
Jason Uh
jason.uh at oracle.com
Fri Jan 9 02:46:00 UTC 2015
Thanks, Sean.
Here is an updated webrev with your suggested changes. I've also added
tests here, and will no longer be adding tests for this changeset to the
closed repo.
http://cr.openjdk.java.net/~juh/8046724/01/
Thanks,
Jason
On 12/18/2014 07:02 AM, Sean Mullan wrote:
> Just a few comments:
>
> - some of the methods (encodePoint, trimZeroes, ...) can be made private
> static.
>
> 451: if getCurveOid returns null, you should throw MarshalException
> instead of outputting a null Oid
>
> 486: if getECParameterSpec returns null, you should throw
> MarshalException (otherwise an NPE would be thrown on line 498)
>
> 520,524: these methods should be private
>
> --Sean
>
> On 12/16/2014 02:44 PM, Jason Uh wrote:
>> Please review this fix, which allows XML Signature ECKeyValue elements
>> to be marshalled and unmarshalled.
>>
>> Dependence on internal sun.security.* classes has been removed, so that
>> the (un)marshalling can happen without reflection.
>>
>> webrev: http://cr.openjdk.java.net/~juh/8046724/00/
>> bug: https://bugs.openjdk.java.net/browse/JDK-8046724
>>
>> A corresponding test will be added to the closed repository.
>>
>> Thanks,
>> Jason
More information about the security-dev
mailing list