GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
Classes | |
class | Impl |
Public Member Functions | |
GpgKeyGetter (int channel=kGpgFrontendDefaultChannel) | |
Construct a new Gpg Key Getter object. More... | |
~GpgKeyGetter () | |
Destroy the Gpg Key Getter object. | |
auto | GetKey (const QString &key_id, bool use_cache=true) -> GpgKey |
Get the Key object. More... | |
auto | GetKeys (const KeyIdArgsListPtr &key_ids) -> KeyListPtr |
Get the Keys object. More... | |
auto | GetPubkey (const QString &key_id, bool use_cache=true) -> GpgKey |
Get the Pubkey object. More... | |
auto | FetchKey () -> KeyLinkListPtr |
Get all the keys by receiving a linked list. More... | |
auto | FlushKeyCache () -> bool |
flush the keys in the cache | |
auto | GetKeysCopy (const KeyListPtr &keys) -> KeyListPtr |
Get the Keys Copy object. More... | |
auto | GetKeysCopy (const KeyLinkListPtr &keys) -> KeyLinkListPtr |
Get the Keys Copy object. More... | |
Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | |
SingletonFunctionObject (const SingletonFunctionObject< GpgKeyGetter > &)=delete | |
prohibit copy | |
SingletonFunctionObject (GpgKeyGetter &&)=delete | |
Construct a new Singleton Function Object object. | |
SingletonFunctionObject (const GpgKeyGetter &)=delete | |
Construct a new Singleton Function Object object. | |
auto | operator= (const SingletonFunctionObject< GpgKeyGetter > &) -> SingletonFunctionObject &=delete |
prohibit copy More... | |
void | operator= (const GpgKeyGetter &)=delete |
auto | GetChannel () const -> int |
Get the Channel object. More... | |
Public Member Functions inherited from GpgFrontend::ChannelObject | |
ChannelObject () noexcept | |
Construct a new Default Channel Object object. | |
virtual | ~ChannelObject () noexcept |
Destroy the Channel Object object. | |
ChannelObject (int channel, QString type) | |
Construct a new Channel Object object. More... | |
auto | GetChannel () const -> int |
Get the Channel object. More... | |
void | SetChannel (int channel) |
Set the Channel object. More... | |
Private Attributes | |
SecureUniquePtr< Impl > | p_ |
Additional Inherited Members | |
Static Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | |
static auto | GetInstance (int channel=GpgFrontend::kGpgFrontendDefaultChannel) -> GpgKeyGetter & |
Get the Instance object. More... | |
static auto | CreateInstance (int channel, const std::function< ChannelObjectPtr(void)> &factory) -> GpgKeyGetter & |
Create a Instance object. More... | |
static void | ReleaseChannel (int channel) |
static auto | GetDefaultChannel () -> int |
Get the Default Channel object. More... | |
static auto | GetAllChannelId () -> std::vector< int > |
Get all the channel ids. More... | |
Static Public Member Functions inherited from GpgFrontend::ChannelObject | |
static auto | GetDefaultChannel () -> int |
Get the Default Channel object. More... | |
Protected Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | |
SingletonFunctionObject ()=default | |
Construct a new Singleton Function Object object. | |
SingletonFunctionObject (int channel) | |
Construct a new Singleton Function Object object. More... | |
virtual | ~SingletonFunctionObject ()=default |
Destroy the Singleton Function Object object. | |
|
explicit |
Construct a new Gpg Key Getter object.
channel |
auto GpgFrontend::GpgKeyGetter::FetchKey | ( | ) | -> KeyLinkListPtr |
Get all the keys by receiving a linked list.
auto GpgFrontend::GpgKeyGetter::GetKey | ( | const QString & | key_id, |
bool | use_cache = true |
||
) | -> GpgKey |
auto GpgFrontend::GpgKeyGetter::GetKeys | ( | const KeyIdArgsListPtr & | key_ids | ) | -> KeyListPtr |
Get the Keys object.
ids |
auto GpgFrontend::GpgKeyGetter::GetKeysCopy | ( | const KeyLinkListPtr & | keys | ) | -> KeyLinkListPtr |
Get the Keys Copy object.
keys |
auto GpgFrontend::GpgKeyGetter::GetKeysCopy | ( | const KeyListPtr & | keys | ) | -> KeyListPtr |
Get the Keys Copy object.
keys |
auto GpgFrontend::GpgKeyGetter::GetPubkey | ( | const QString & | key_id, |
bool | use_cache = true |
||
) | -> GpgKey |