42 #ifndef _DWMXCHACHA20POLY1305ISTREAM_HH_ 43 #define _DWMXCHACHA20POLY1305ISTREAM_HH_ 49 namespace XChaCha20Poly1305 {
75 Istream(std::istream & is,
const std::string & key)
76 : std::istream(new
InBuffer(is, key))
92 #endif // _DWMXCHACHA20POLY1305ISTREAM_HH_ Istream(std::istream &is, const std::string &key)
Construct with a reference to an existing encrypted istream is and a 32-byte shared secret key which ...
Definition: DwmXChaCha20Poly1305Istream.hh:75
virtual ~Istream()
Destructor.
Definition: DwmXChaCha20Poly1305Istream.hh:82
This class is a helper for encrypted stream input.
Definition: DwmXChaCha20Poly1305InBuffer.hh:63
This class is essentially a filter for an istream.
Definition: DwmXChaCha20Poly1305Istream.hh:66
Dwm::XChaCha20Poly1305::InBuffer class declaration.