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