GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgImportInformation.h
1 
29 #pragma once
30 
31 #include <gpgme.h>
32 
33 #include "core/GpgFrontendCoreExport.h"
34 
35 namespace GpgFrontend {
36 
41 class GPGFRONTEND_CORE_EXPORT GpgImportInformation {
42  public:
48  public:
49  QString fpr;
50  int import_status;
51  };
52 
53  using GpgImportedKeyList = std::list<GpgImportedKey>;
54 
60 
66  explicit GpgImportInformation(gpgme_import_result_t result);
67 
68  int considered = 0;
69  int no_user_id = 0;
70  int imported = 0;
71  int imported_rsa = 0;
72  int unchanged = 0;
73  int new_user_ids = 0;
74  int new_sub_keys = 0;
75  int new_signatures = 0;
76  int new_revocations = 0;
77  int secret_read = 0;
78  int secret_imported = 0;
79  int secret_unchanged = 0;
80  int not_imported = 0;
81 
82  GpgImportedKeyList imported_keys;
83 };
84 } // namespace GpgFrontend
Definition: GpgImportInformation.h:47
Definition: GpgImportInformation.h:41
GpgImportInformation()
Construct a new Gpg Import Information object.
Definition: app.cpp:39