iaik.cms
Interface InputStreamHashEngine

All Superinterfaces:
HashEngine

public interface InputStreamHashEngine
extends HashEngine

Generic hash engine that hashes all data that is read from an input stream.


Method Summary
 java.io.InputStream getInputStream()
          Gets the hashing input stream from this engine.
 
Methods inherited from interface iaik.cms.HashEngine
getHash, getHash
 

Method Detail

getInputStream

java.io.InputStream getInputStream()
Gets the hashing input stream from this engine. All data that is read from this (respectively the underlying) stream is hashed. After the data has been read from this (respectively the underlying) stream, the final hash value can be obtained by calling method getHash.

Returns:
an input stream that hashes all data provided by the underlying stream

This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

IAIK-CMS 6.0, (c) 2002 IAIK, (c) 2003, 2023 SIC