<html><head><meta content="text/html; charset=gb2312" http-equiv="Content-Type"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">It's late night and I'll read it tomorrow. But can you choose another word instead of Lengthable? Length is not a verb.<br><br>Max<br></div></div><hr><span style="font-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">发件人: </span><span style="font-family: Tahoma,sans-serif; font-size: 10pt;">Xuelei Fan</span><br><span style="font-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">发送时间: </span><span style="font-family: Tahoma,sans-serif; font-size: 10pt;">2012/1/10 22:51</span><br><span style="font-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">收件人: </span><span style="font-family: Tahoma,sans-serif; font-size: 10pt;">Weijun Wang</span><br><span style="font-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">抄送: </span><span style="font-family: Tahoma,sans-serif; font-size: 10pt;">OpenJDK</span><br><span style="font-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">主题: </span><span style="font-family: Tahoma,sans-serif; font-size: 10pt;">Re: Code review request, 7106773: 512 bits RSA key cannot work withSHA384 and SHA512</span><br><br>It has been around 50 days passed since the last day we talked about the<br>issue. Hope you can recall it from the deep memory. ;-)<br><br>webrev: http://javaweb.us.oracle.com/~xufan/bugbios/7106773/webrev.04/<br><br>In this update, as we agreed, a new Oracle private interface was<br>introduced: sun.security.util.Lengthable, and Lengthable.length() is<br>defined to get the length an object. sun.security.pkcs11.P11Key and<br>sun.security.mscapi.Key will implements the interface. As will easy and<br>speedup (comparing with reflection approach) the getting of key length<br>of those unextractable keys in hardware device.<br><br>In the webrev, I should also include another two signed jars,<br>sunpkcs11.jar and sunmscapi.jar. I will include them when I get the<br>official signed jars.<br><br>Thanks,<br>Xuelei<br><br>On 11/22/2011 8:41 AM, Weijun Wang wrote:<br>> I really like this one.<br>> <br>> Thanks<br>> Max<br>> <br>> On 11/21/2011 08:05 PM, Xuelei Fan wrote:<br>>>> > How about this approach? This looks very safe.<br>>>> ><br>>> I also prefer this approach, although it need more updates in PKCS11 and<br>>> MSCPI source code. If you vote for this approach, I will try to<br>>> implement it.<br>>><br><br></body></html>