3 #ifndef _MADARA_FILTERS_SSL_AES_H_
4 #define _MADARA_FILTERS_SSL_AES_H_
17 #include "madara/MadaraExport.h"
19 #include "../BufferFilter.h"
69 virtual int encode(
char* source,
int size,
int max_size)
const;
78 virtual int decode(
char* source,
int size,
int max_size)
const;
Encrypts a buffer with 256 bit AES via OpenSSL.
utility::ScopedArray< unsigned char > iv_
initialization vector
utility::ScopedArray< unsigned char > key_
the user's cypher key
Abstract base class for implementing buffer filters via a functor interface.
std::string get_version(void)
Gets the MADARA version number.
Copyright(c) 2020 Galois.