java.security.DigestInputStream does not implement skip(long)

Sean Mullan sean.mullan at oracle.com
Mon Aug 4 13:58:10 UTC 2014


On 08/01/2014 06:06 AM, Florian Weimer wrote:
> I noticed that the implementation of DigestInputStream does not feed
> skipped-over bytes to the message digest.  The specification is silent
> on this, and I'm not sure if this a specification deficiency or an
> implementation bug.

Yes, this is a known issue, see 
https://bugs.openjdk.java.net/browse/JDK-6587699

--Sean



More information about the security-dev mailing list