GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
29 #ifndef GPGFRONTEND_ZH_CN_TS_GPGKEYGETTER_H
30 #define GPGFRONTEND_ZH_CN_TS_GPGKEYGETTER_H
32 #include "core/GpgContext.h"
33 #include "core/GpgFunctionObject.h"
34 #include "core/GpgModel.h"
59 GpgKey GetKey(
const std::string& fpr);
67 KeyListPtr GetKeys(
const KeyIdArgsListPtr& ids);
75 GpgKey GetPubkey(
const std::string& fpr);
82 KeyLinkListPtr FetchKey();
90 static KeyListPtr GetKeysCopy(
const KeyListPtr& keys);
98 static KeyLinkListPtr GetKeysCopy(
const KeyLinkListPtr& keys);
110 #endif // GPGFRONTEND_ZH_CN_TS_GPGKEYGETTER_H
Definition: GpgFunctionObject.h:49
GpgKeyGetter(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg Key Getter object.
Definition: GpgKeyGetter.cpp:35
static KeyListPtr GetKeysCopy(const KeyListPtr &keys)
Get the Keys Copy object.
Definition: GpgKeyGetter.cpp:97
Definition: CoreCommonUtil.cpp:29
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
Definition: GpgKeyGetter.h:42
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
KeyLinkListPtr FetchKey()
Definition: GpgKeyGetter.cpp:58
Definition: GpgContext.h:59
GpgKey GetPubkey(const std::string &fpr)
Get the Pubkey object.
Definition: GpgKeyGetter.cpp:49
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:127
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:83