Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.crypto.mode
Interface IAuthenticatedMode  view IAuthenticatedMode download IAuthenticatedMode.java

All Superinterfaces:
java.lang.Cloneable, gnu.javax.crypto.cipher.IBlockCipher, gnu.javax.crypto.mac.IMac, IMode
All Known Implementing Classes:
EAX

public interface IAuthenticatedMode
extends IMode, gnu.javax.crypto.mac.IMac

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

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


Field Summary
 
Fields inherited from interface gnu.javax.crypto.mode.IMode
DECRYPTION, ENCRYPTION, IV, MODE_BLOCK_SIZE, STATE
 
Fields inherited from interface gnu.javax.crypto.cipher.IBlockCipher
CIPHER_BLOCK_SIZE, KEY_MATERIAL
 
Fields inherited from interface gnu.javax.crypto.mac.IMac
MAC_KEY_MATERIAL, TRUNCATED_SIZE
 
Methods inherited from interface gnu.javax.crypto.mode.IMode
update
 
Methods inherited from interface gnu.javax.crypto.cipher.IBlockCipher
blockSizes, clone, currentBlockSize, decryptBlock, defaultBlockSize, defaultKeySize, encryptBlock, init, keySizes, name, reset, selfTest
 
Methods inherited from interface gnu.javax.crypto.mac.IMac
clone, digest, init, macSize, name, reset, selfTest, update, update