diff options
Diffstat (limited to 'include/gpg/GpgContext.h')
-rw-r--r-- | include/gpg/GpgContext.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gpg/GpgContext.h b/include/gpg/GpgContext.h index e243cc53..a2812b4e 100644 --- a/include/gpg/GpgContext.h +++ b/include/gpg/GpgContext.h @@ -71,6 +71,8 @@ namespace GpgME { ~GpgContext() override; + bool isGood() const; + GpgImportInformation importKey(QByteArray inBuffer); [[nodiscard]] const GpgKeyList &getKeys() const; @@ -178,6 +180,7 @@ namespace GpgME { gpgme_data_t in{}; gpgme_error_t err; bool debug; + bool good = true; static gpgme_error_t readToBuffer(gpgme_data_t dataIn, QByteArray *outBuffer); |