42#ifndef _DWMCREDENCEXCHACHA20POLY1305ISTREAM_HH_
43#define _DWMCREDENCEXCHACHA20POLY1305ISTREAM_HH_
51 namespace XChaCha20Poly1305 {
77 Istream(std::istream & is,
const std::string & key)
78 : std::istream(new
InBuffer(is, key))
Dwm::Credence::XChaCha20Poly1305::InBuffer class declaration.
This class is a helper for encrypted stream input.
Definition DwmCredenceXChaCha20Poly1305InBuffer.hh:69
This class is essentially a filter for an istream.
Definition DwmCredenceXChaCha20Poly1305Istream.hh:70
virtual ~Istream()
Destructor.
Definition DwmCredenceXChaCha20Poly1305Istream.hh:84
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 DwmCredenceXChaCha20Poly1305Istream.hh:77