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

Method Detail

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

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