/*************************************************
* Keyed Filter Header File                       *
* (C) 1999-2002 The Botan Project                *
*************************************************/

#ifndef BOTAN_KEYED_FILTER_H__
#define BOTAN_KEYED_FILTER_H__

#include <botan/filter.h>
#include <botan/symkey.h>

namespace Botan {

typedef SymmetricKey BlockCipherModeIV;

/*************************************************
* Keyed Filter Base Class                        *
*************************************************/
class Keyed_Filter : public Filter
   {
   public:
      virtual void reset_key(const SymmetricKey&) = 0;
      virtual void reset_iv(const BlockCipherModeIV&) {}
   };

}

#endif
