GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
29 #ifndef GPGFRONTEND_ZH_CN_TS_UIDOPERATOR_H
30 #define GPGFRONTEND_ZH_CN_TS_UIDOPERATOR_H
32 #include "core/GpgContext.h"
33 #include "core/GpgModel.h"
57 bool AddUID(
const GpgKey& key,
const std::string& uid);
67 bool AddUID(
const GpgKey& key,
const std::string& name,
68 const std::string& comment,
const std::string& email);
76 bool RevUID(
const GpgKey& key,
const std::string& uid);
84 bool SetPrimaryUID(
const GpgKey& key,
const std::string& uid);
93 #endif // GPGFRONTEND_ZH_CN_TS_UIDOPERATOR_H
Definition: GpgFunctionObject.h:49
Definition: CoreCommonUtil.cpp:29
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
bool SetPrimaryUID(const GpgKey &key, const std::string &uid)
Definition: GpgUIDOperator.cpp:55
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
Definition: GpgContext.h:59
GpgUIDOperator(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg UID Opera object.
Definition: GpgUIDOperator.cpp:33
bool RevUID(const GpgKey &key, const std::string &uid)
Definition: GpgUIDOperator.cpp:45
bool AddUID(const GpgKey &key, const std::string &uid)
Definition: GpgUIDOperator.cpp:36
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
Definition: GpgUIDOperator.h:40