- All Superinterfaces:
- CipherEngine, InputStreamCipherEngine, MacAADEngine, MacEngine
public interface InputStreamAuthCipherEngine
- extends InputStreamCipherEngine, MacAADEngine
Generic authentication Cipher engine for authenticated encrypting/decrypting data that is
supplied by an input stream.
Used by class
authenticated content en/decryption with CMS content-type
Setups a cipher utility for authenticated encryption/decryption depending on the requested mode and
en/deciphers the data that is supplied by an input stream when calling method
cipher. Additional data (which shall be authenticated only but
not encrypted) may be set by calling method
setAdditionalAuthData, and method
getMac returns the calculated
message authentication code.
Allows the implementation of authenticated en/deciphering utilities that may be independent from the JCE
javax.crypto.Cipher engine. The default implementation, however, is based on the
javax.crypto.Cipher engine and uses a
en/decrypting the data that is read by the stream.
An application that implements its own InputStreamAuthCipherEngine has to override the following
SecurityProvider methods to plug-in its own implementation:
- See Also:
IAIK-CMS 5.1, (c) 2002 IAIK, (c) 2003 - 2010 SIC