bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22640] gnu.java.security.provider.MD5 should extend java.


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22640] gnu.java.security.provider.MD5 should extend java.security.MessageDigest
Date: 16 Oct 2005 01:26:10 -0000

As of 6/23/2002, gnu.java.security.provider.MD5 extended
java.security.MessageDigestSpi, rather than java.security.MessageDigest.  This
doesn't seem useful, and I believe that MessageDigest.getInstance() depends on
being able to cast an MD5 object into a MessageDigest.

>From what I understand from looking at the Sun API docs,
java.security.MessageDigestSpi exists only to define the interface to the hash
algorithm that MessageDigest makes use of in its implementation.


------- Comment #1 from from-classpath at savannah dot gnu dot org  2002-07-22 
23:13 -------
Correct. I have fixed this in CVS.
Thanks for pointing this out.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22640





reply via email to

[Prev in Thread] Current Thread [Next in Thread]