gnu.crypto.mode

Interface IAuthenticatedMode

All Superinterfaces:
Cloneable, IBlockCipher, IMac, IMode
Known Implementing Classes:
EAX

public interface IAuthenticatedMode
extends IMode, IMac

The interface for encryption modes that also produce a message authentication tag.

This interface is merely the conjuction of the IMode and IMac interfaces. Encryption and decryption is done via the IMode.update(byte[],int,byte[],int) method, tag generation is done via the IMac.digest() method, and header updating (if supported by the mode) is done via the IMac.update(byte[],int,int) method.

Version:
$Revision: 1.2 $

Fields inherited from interface gnu.crypto.cipher.IBlockCipher

CIPHER_BLOCK_SIZE, KEY_MATERIAL

Fields inherited from interface gnu.crypto.mac.IMac

MAC_KEY_MATERIAL, TRUNCATED_SIZE

Fields inherited from interface gnu.crypto.mode.IMode

DECRYPTION, ENCRYPTION, IV, MODE_BLOCK_SIZE, STATE

Methods inherited from interface gnu.crypto.cipher.IBlockCipher

blockSizes, clone, currentBlockSize, decryptBlock, defaultBlockSize, defaultKeySize, encryptBlock, init, keySizes, name, reset, selfTest

Methods inherited from interface gnu.crypto.mac.IMac

clone, digest, init, macSize, name, reset, selfTest, update, update

Methods inherited from interface gnu.crypto.mode.IMode

update

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.