Loading...
Searching...
No Matches
ledger::decrypted_stream_t Class Reference

#include <gpgme.h>

Inherits std::istream.

Public Member Functions

 decrypted_stream_t (path &filename)
 decrypted_stream_t (std::shared_ptr< GpgME::Data > dec_d)
 ~decrypted_stream_t ()

Static Public Member Functions

static std::shared_ptr< GpgME::Data > decrypt (std::shared_ptr< GpgME::Data > enc_d)
static std::FILE * open_file (const path &filename)
static std::istream * open_stream (const path &filename)
static std::shared_ptr< GpgME::Data > setup_cipher_buffer (std::FILE *f)

Public Attributes

std::shared_ptr< GpgME::Data > dec_d
std::FILE * file

Detailed Description

Definition at line 78 of file gpgme.h.

Constructor & Destructor Documentation

◆ decrypted_stream_t() [1/2]

ledger::decrypted_stream_t::decrypted_stream_t ( path & filename)

◆ decrypted_stream_t() [2/2]

ledger::decrypted_stream_t::decrypted_stream_t ( std::shared_ptr< GpgME::Data > dec_d)

References dec_d.

◆ ~decrypted_stream_t()

ledger::decrypted_stream_t::~decrypted_stream_t ( )

Member Function Documentation

◆ decrypt()

std::shared_ptr< GpgME::Data > ledger::decrypted_stream_t::decrypt ( std::shared_ptr< GpgME::Data > enc_d)
static

◆ open_file()

std::FILE * ledger::decrypted_stream_t::open_file ( const path & filename)
static

◆ open_stream()

std::istream * ledger::decrypted_stream_t::open_stream ( const path & filename)
static

Referenced by ledger::open_for_reading().

Here is the caller graph for this function:

◆ setup_cipher_buffer()

std::shared_ptr< GpgME::Data > ledger::decrypted_stream_t::setup_cipher_buffer ( std::FILE * f)
static

Member Data Documentation

◆ dec_d

std::shared_ptr<GpgME::Data> ledger::decrypted_stream_t::dec_d

Definition at line 80 of file gpgme.h.

Referenced by decrypted_stream_t().

◆ file

std::FILE* ledger::decrypted_stream_t::file

Definition at line 81 of file gpgme.h.


The documentation for this class was generated from the following file: