GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
27 #ifndef GPGFRONTEND_KEYPAIRDETAILTAB_H
28 #define GPGFRONTEND_KEYPAIRDETAILTAB_H
30 #include "KeySetExpireDateDialog.h"
31 #include "core/GpgContext.h"
32 #include "import_export/KeyServerImportDialog.h"
33 #include "import_export/KeyUploadDialog.h"
34 #include "ui/GpgFrontendUI.h"
52 void slot_refresh_key_info();
58 void slot_refresh_key();
75 QLabel* last_update_var_label_;
79 QLabel* usage_var_label_;
80 QLabel* actual_usage_var_label_;
81 QLabel* primary_key_exist_var_label_;
94 QWidget* parent =
nullptr);
99 #endif // GPGFRONTEND_KEYPAIRDETAILTAB_H
GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:87
QLabel * expire_var_label_
Label containing the keys expiration date.
Definition: KeyPairDetailTab.h:73
Definition: FileReadTask.cpp:31
QGroupBox * fingerprint_box_
Groupbox containing fingerprint information.
Definition: KeyPairDetailTab.h:65
std::string GetId() const
Definition: GpgKey.cpp:54
bool IsHasSigningCapability() const
Definition: GpgKey.cpp:121
QGroupBox * owner_box_
Groupbox containing owner information.
Definition: KeyPairDetailTab.h:63
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
bool IsHasActualCertificationCapability() const
Definition: GpgKey.cpp:207
void slot_copy_fingerprint()
Definition: KeyPairDetailTab.cpp:164
QLabel * email_var_label_
Label containing the keys email.
Definition: KeyPairDetailTab.h:70
QGroupBox * additional_uid_box_
Definition: KeyPairDetailTab.h:66
Definition: GpgKeyGetter.h:45
QLabel * key_size_var_label_
Label containing the keys key size.
Definition: KeyPairDetailTab.h:72
std::string GetComment() const
Definition: GpgKey.cpp:66
QLabel * key_id_var_label
Label containing the keys keyid.
Definition: KeyPairDetailTab.h:77
QLabel * created_var_label_
Label containing the keys creation date.
Definition: KeyPairDetailTab.h:74
std::string GetEmail() const
Definition: GpgKey.cpp:62
std::unique_ptr< std::vector< GpgSubKey > > GetSubKeys() const
Definition: GpgKey.cpp:153
QLabel * algorithm_var_label_
Label containing the keys algorithm.
Definition: KeyPairDetailTab.h:76
boost::posix_time::ptime GetCreateTime() const
Create a time object.
Definition: GpgKey.cpp:109
KeyPairDetailTab(const std::string &key_id, QWidget *parent=nullptr)
Construct a new Key Pair Detail Tab object.
Definition: KeyPairDetailTab.cpp:35
bool IsHasActualEncryptionCapability() const
Definition: GpgKey.cpp:216
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
bool IsHasActualSigningCapability() const
Definition: GpgKey.cpp:174
bool IsHasActualAuthenticationCapability() const
Definition: GpgKey.cpp:188
bool IsPrivateKey() const
Definition: GpgKey.cpp:140
QLabel * comment_var_label_
Label containing the keys comment.
Definition: KeyPairDetailTab.h:71
unsigned int GetPrimaryKeyLength() const
s
Definition: GpgKey.cpp:113
std::string GetPublicKeyAlgo() const
Definition: GpgKey.cpp:96
boost::posix_time::ptime GetExpireTime() const
Definition: GpgKey.cpp:105
QLabel * name_var_label_
Label containing the keys name.
Definition: KeyPairDetailTab.h:69
bool IsHasAuthenticationCapability() const
Definition: GpgKey.cpp:129
bool IsExpired() const
Definition: GpgKey.cpp:142
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
QLabel * fingerprint_var_label_
Label containing the keys fingerprint.
Definition: KeyPairDetailTab.h:78
Definition: KeyPairDetailTab.h:38
QGroupBox * key_box_
Groupbox containing key information.
Definition: KeyPairDetailTab.h:64
bool IsRevoked() const
Definition: GpgKey.cpp:144
bool IsHasEncryptionCapability() const
Definition: GpgKey.cpp:117
bool IsHasCertificationCapability() const
Definition: GpgKey.cpp:125
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
boost::posix_time::ptime GetLastUpdateTime() const
Definition: GpgKey.cpp:100
std::string GetFingerprint() const
Definition: GpgKey.cpp:70
std::string GetName() const
Definition: GpgKey.cpp:58