security providers and ...

Mark Wielaard
Sun Aug 18 11:28:00 GMT 2002


On Fri, 2002-08-16 at 01:28, Vladimir Puskas wrote:
> On Monday 15 July 2002 00:19, Mark Wielaard wrote:
> > But I don't think they are very well tested so please let us know
> > if they work correctly for you.
> >
> should extend 
> instead of DigestMessageSpi, because now it throws exception:
> java.lang.ClassCastException:
> cannot be cast to
> when trying to MessageDigest.getInstance("MD5").

I had actually already done that for Classpath and will do that now also
for libgcj since that makes it at least usable for now. Raif already
send me patches to make MessageDigest handle classes that extend
MessageDigestSpi (and implements algorithm aliases) which is a more
generic solution. We will add that later when we have tested them a bit


-------------- next part --------------
A non-text attachment was scrubbed...
Name: provider.patch
Type: text/x-patch
Size: 1789 bytes
Desc: not available
URL: <>

More information about the Java-patches mailing list