Signature.getAlogrithm return null in special case

Deven You youdwei at linux.vnet.ibm.com
Mon May 13 21:46:42 PDT 2013


Hi All,

I find in a special case: If you create a SignatureSpi service through 
extending Signature rather than SignatureSpi, the returned signature 
instance will lose its algortithm name.

Though the fix[1] is simple I think it's valuable. Could anyone take a look?

[1] http://cr.openjdk.java.net/~youdwei/ojdk-809/webrev/ 
<http://cr.openjdk.java.net/%7Eyoudwei/ojdk-809/webrev/>

Thanks a lot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/security-dev/attachments/20130514/91a26018/attachment.html 


More information about the security-dev mailing list