53#include <gpgme++/data.h>
65 std::unique_ptr<char[]>
cbuf;
72 virtual std::streambuf::pos_type
seekpos(std::streambuf::pos_type
sp, std::ios_base::openmode
which);
73 virtual std::streambuf::pos_type
seekoff(std::streambuf::off_type off,
74 std::ios_base::seekdir
dir,
75 std::ios_base::openmode
which);
80 std::shared_ptr<GpgME::Data>
dec_d;
128 static std::shared_ptr<GpgME::Data>
decrypt(std::shared_ptr<GpgME::Data>
enc_d);
General utility facilities used by Ledger.
boost::filesystem::path path
const unsigned int bufsize
virtual int_type underflow()
virtual std::streambuf::pos_type seekoff(std::streambuf::off_type off, std::ios_base::seekdir dir, std::ios_base::openmode which)
data_streambuffer_t(GpgME::Data &_data)
std::unique_ptr< char[]> cbuf
virtual std::streambuf::pos_type seekpos(std::streambuf::pos_type sp, std::ios_base::openmode which)
decrypted_stream_t(std::shared_ptr< GpgME::Data > dec_d)
decrypted_stream_t(path &filename)
static std::shared_ptr< GpgME::Data > decrypt(std::shared_ptr< GpgME::Data > enc_d)
static std::FILE * open_file(const path &filename)
static std::shared_ptr< GpgME::Data > setup_cipher_buffer(std::FILE *f)
static std::istream * open_stream(const path &filename)
std::shared_ptr< GpgME::Data > dec_d