8 #ifndef BOTAN_BASE64_CODEC_H__
9 #define BOTAN_BASE64_CODEC_H__
11 #include <botan/secmem.h>
32 size_t& input_consumed,
49 std::string BOTAN_DLL
base64_encode(
const MemoryRegion<byte>& input);
69 size_t& input_consumed,
71 bool ignore_ws =
true);
85 bool ignore_ws =
true);
96 const std::string& input,
97 bool ignore_ws =
true);
107 SecureVector<byte> BOTAN_DLL
base64_decode(
const char input[],
109 bool ignore_ws =
true);
118 SecureVector<byte> BOTAN_DLL
base64_decode(
const std::string& input,
119 bool ignore_ws =
true);
size_t base64_decode(byte output[], const char input[], size_t input_length, size_t &input_consumed, bool final_inputs, bool ignore_ws)
size_t base64_encode(char out[], const byte in[], size_t input_length, size_t &input_consumed, bool final_inputs)