|
void | SignalNeedUserInputPassphrase () |
|
|
static gpgme_error_t | test_passphrase_cb (void *opaque, const char *uid_hint, const char *passphrase_info, int last_was_bad, int fd) |
|
static gpgme_error_t | custom_passphrase_cb (void *opaque, const char *uid_hint, const char *passphrase_info, int last_was_bad, int fd) |
|
static gpgme_error_t | test_status_cb (void *hook, const char *keyword, const char *args) |
|
static GpgContext & | GetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL) |
| Get the Instance object. More...
|
|
static GpgContext & | CreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory) |
| Create a Instance object. More...
|
|
static void | ReleaseChannel (int channel) |
|
static int | GetDefaultChannel () |
| Get the Default Channel object. More...
|
|
static std::vector< int > | GetAllChannelId () |
| Get all the channel ids. More...
|
|
static int | GetDefaultChannel () |
| Get the Default Channel object. More...
|
|
|
GpgInfo | info_ {} |
|
GpgContextInitArgs | args_ {} |
|
bool | extend_info_loaded_ = false |
|
std::shared_mutex | preload_lock_ {} |
|
CtxRefHandler | _ctx_ref = nullptr |
|
bool | good_ = true |
|
◆ GpgContext() [1/2]
Construct a new Gpg Context object.
- Parameters
-
args | Constructor Set up gpgme-context, set paths to app-run path |
References GpgFrontend::GpgInfo::AppPath, GpgFrontend::GpgInfo::AssuanPath, GpgFrontend::check_gpg_error(), GpgFrontend::check_gpg_error_2_err_code(), GpgFrontend::GpgInfo::CMSPath, GpgFrontend::GpgInfo::DatabasePath, GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >::GetInstance(), GpgFrontend::GpgInfo::GnupgVersion, GpgFrontend::GpgInfo::GpgConfPath, and post_init_ctx().
◆ GpgContext() [2/2]
GpgFrontend::GpgContext::GpgContext |
( |
int |
channel | ) |
|
|
explicit |
Construct a new Gpg Context object.
- Parameters
-
◆ custom_passphrase_cb()
gpgme_error_t GpgFrontend::GpgContext::custom_passphrase_cb |
( |
void * |
opaque, |
|
|
const char * |
uid_hint, |
|
|
const char * |
passphrase_info, |
|
|
int |
last_was_bad, |
|
|
int |
fd |
|
) |
| |
|
static |
◆ GetInfo()
const GpgInfo & GpgFrontend::GpgContext::GetInfo |
( |
bool |
refresh = false | ) |
|
◆ good()
bool GpgFrontend::GpgContext::good |
( |
| ) |
const |
◆ need_user_input_passphrase()
std::string GpgFrontend::GpgContext::need_user_input_passphrase |
( |
| ) |
|
|
private |
◆ operator gpgme_ctx_t()
GpgFrontend::GpgContext::operator gpgme_ctx_t |
( |
| ) |
const |
|
inline |
◆ post_init_ctx()
void GpgFrontend::GpgContext::post_init_ctx |
( |
| ) |
|
|
private |
Setting the output type must be done at the beginning
think this means ascii-armor --> ?
Setting the output type must be done at the beginning
think this means ascii-armor --> ?
References GpgFrontend::GpgInfo::AppPath, GpgFrontend::check_gpg_error(), GpgFrontend::check_gpg_error_2_err_code(), custom_passphrase_cb(), GpgFrontend::GpgInfo::DatabasePath, GetInfo(), GpgFrontend::CoreSignalStation::GetInstance(), GpgFrontend::GpgInfo::GnupgVersion, SetPassphraseCb(), test_passphrase_cb(), and test_status_cb().
Referenced by GpgContext().
◆ SetPassphraseCb()
void GpgFrontend::GpgContext::SetPassphraseCb |
( |
gpgme_passphrase_cb_t |
func | ) |
const |
◆ test_passphrase_cb()
gpgme_error_t GpgFrontend::GpgContext::test_passphrase_cb |
( |
void * |
opaque, |
|
|
const char * |
uid_hint, |
|
|
const char * |
passphrase_info, |
|
|
int |
last_was_bad, |
|
|
int |
fd |
|
) |
| |
|
static |
- Parameters
-
opaque | |
uid_hint | |
passphrase_info | |
last_was_bad | |
fd | |
- Returns
- gpgme_error_t
Referenced by post_init_ctx().
◆ test_status_cb()
gpgme_error_t GpgFrontend::GpgContext::test_status_cb |
( |
void * |
hook, |
|
|
const char * |
keyword, |
|
|
const char * |
args |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: