| HTTPClient.HashVerifier
HashVerifier | interface HashVerifier (Code) | | This interface defines a hash verifier.
version: 0.3-2 18/06/1999 author: Ronald Tschalär |
Method Summary | |
public void | verifyHash(byte[] hash, long len) This method is invoked when a digest of a stream has been calculated. |
verifyHash | public void verifyHash(byte[] hash, long len) throws java.io.IOException(Code) | | 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.
Parameters: hash - the calculated hash Parameters: len - the number of bytes read from the stream exception: IOException - if the verification fails. |
|
|