gnu.crypto.mode

Interface IAuthenticatedMode

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 (byte[],int,byte[],int) method, tag generation is done via the digest method, and header updating (if supported by the mode) is done via the (byte[],int,int) method.

Version: $Revision: 1.2 $

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