Adds base64 support via mbedtls

This is inspered in the work done at: #1123
This commit is contained in:
Felipe Zimmerle
2016-05-23 18:27:28 -03:00
parent 4b9cff3ec7
commit a3ae686f25
8 changed files with 3753 additions and 1 deletions

16
src/utils/base64.h Normal file
View File

@@ -0,0 +1,16 @@
namespace modsecurity {
namespace Utils {
class Base64 {
public:
Base64() { }
static std::string encode(std::string& data);
static std::string decode(std::string& data);
};
} // namespace Utils
} // namespace modsecurity