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. |
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
IAIK-CMS 6.0, (c) 2002 IAIK, (c) 2003, 2023 SIC