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.
 
Methods inherited from interface iaik.cms.MacEngine
getMac
 

Method Detail

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

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