Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

HTTPClient
Interface HashVerifier  view HashVerifier download HashVerifier.java

All Known Implementing Classes:
VerifyDigest, VerifyMD5, VerifyRspAuth

interface HashVerifier

This interface defines a hash verifier.

Version:
0.3-2 18/06/1999

Method Summary
 void verifyHash(byte[] hash, long len)
          This method is invoked when a digest of a stream has been calculated.
 

Method Detail

verifyHash

public void verifyHash(byte[] hash,
                       long len)
                throws java.io.IOException
This method is invoked when a digest of a stream has been calculated. It must verify that the hash (or some function of it) is correct and throw an IOException if it is not.