[9] RFR: 8047223: Add algorithm parameter to EncodedKeySpec class and its two subclasses

Sean Mullan sean.mullan at oracle.com
Thu Sep 11 23:41:28 UTC 2014


On line 83 of EncodedKeySpec, call algorithm.isEmpty() instead.
Looks good otherwise.

--Sean

On 09/10/2014 07:14 PM, Jason Uh wrote:
> Please review this change, which adds a constructor taking an algorithm
> name parameter to EncodedKeySpec and its subclasses. This allows the
> algorithm name to be retrieved in subsequent calls to the EncodedKeySpec.
>
> webrev: http://cr.openjdk.java.net/~juh/8047223/webrev.01/
> https://bugs.openjdk.java.net/browse/JDK-8047223
>
> Thanks,
> Jason



More information about the security-dev mailing list