Code review request: 7197245: Eliminate sun.security.ssl.JsseJce dependency on sun.security.ec

Xuelei Fan xuelei.fan at oracle.com
Wed Sep 12 04:02:12 UTC 2012


ECGenParameterSpec.getName() returns "the standard or predefined name".
What's the form of standard name? And what's the form of predefined name?

I think the fix works in SunEC, but may run into problems with other
providers if the ECGenParameterSpec.getName() does not always return the
OID name as "1.3.132.0.9". Because SunJSSE implementation needs the name
to be a OID string.

 Do we have a doc to define these names? Maybe we can have a map between
OID names and other names.

Xuelei

On 9/12/2012 12:22 AM, Vincent Ryan wrote:
> 
> Hello Brad,
> 
> Please review these changes to eliminate the dependency between the
> SunJSSE provider and the ECParameters and NamedCurve classes in the
> SunEC provider.
> 
>   http://cr.openjdk.java.net/~vinnie/7197245/webrev.00/
> 
> Thanks.




More information about the security-dev mailing list