9 #ifndef BOTAN_DATA_SINK_H_
10 #define BOTAN_DATA_SINK_H_
12 #include <botan/filter.h>
44 const std::string&
name =
"<std::ostream>");
46 #if defined(BOTAN_TARGET_OS_HAS_FILESYSTEM)
55 bool use_binary =
false);
58 std::string
name()
const override {
return m_identifier; }
60 void write(
const uint8_t[],
size_t)
override;
62 void end_msg()
override;
67 const std::string m_identifier;
70 std::unique_ptr<std::ostream> m_sink_memory;
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
bool attachable() override
std::string name() const override