iaik.cms
Interface OutputStreamHashEngine

All Superinterfaces:
HashEngine

public interface OutputStreamHashEngine
extends HashEngine

Generic hash engine that hashes all data that is written to an output stream.


Method Summary
 java.io.OutputStream getOutputStream()
          Gets the hashing output stream from this engine.
 
Methods inherited from interface iaik.cms.HashEngine
getHash, getHash
 

Method Detail

getOutputStream

java.io.OutputStream getOutputStream()
Gets the hashing output stream from this engine. All data that is written to this (respectively the underlying) stream is hashed. After the data has been written this (respectively the underlying) stream, the final hash value can be obtained by calling method getHash.

Returns:
an output stream that hashes all data written to 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