Signature.getAlogrithm return null in special case

Deven You youdwei at linux.vnet.ibm.com
Tue May 14 04:40:28 UTC 2013


Hi All,

I didn't see this mail is posted to mailing list for 2 ~ 3 hours, I am 
not sure why so just re-send it.

Thanks a lot!
On 05/14/2013 11:01 AM, Deven You wrote:
> 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: <https://mail.openjdk.org/pipermail/security-dev/attachments/20130514/372659bd/attachment.htm>


More information about the security-dev mailing list