iaik.cms
Interface OutputStreamMacEngine
- All Superinterfaces:
- MacEngine
public interface OutputStreamMacEngine
- extends MacEngine
Generic Mac engine that calculates a Message Authentication Code on
the data that is written to an output stream.
Method Summary |
java.io.OutputStream |
getOutputStream()
Gets the Mac calculating output stream from this engine. |
getOutputStream
java.io.OutputStream getOutputStream()
- Gets the Mac calculating output stream from this engine. All data that is written
to this (respectively the underlying) stream contributes to the Mac calculation.
After the data has been written to this (respectively the underlying) stream, the
final Mac value can be obtained by calling method
getMac
.
- Returns:
- an output stream that calculates a Mac on the data written to the underlying stream
IAIK-CMS 6.0, (c) 2002 IAIK, (c) 2003, 2023 SIC