8 #ifndef BOTAN_KEYED_FILTER_H__
9 #define BOTAN_KEYED_FILTER_H__
11 #include <botan/filter.h>
12 #include <botan/cipher_mode.h>
13 #include <botan/sym_algo.h>
44 return key_spec().valid_keylength(length);
58 {
return (length == 0); }
77 BOTAN_DLL Keyed_Filter*
get_cipher(
const std::string& algo_spec,
91 BOTAN_DLL Keyed_Filter*
get_cipher(
const std::string& algo_spec,
104 BOTAN_DLL Keyed_Filter*
get_cipher(
const std::string& algo_spec,
OctetString InitializationVector
virtual bool valid_iv_length(size_t length) const
bool valid_keylength(size_t length) const
Keyed_Filter * get_cipher(const std::string &algo_spec, Cipher_Dir direction)