summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Klöcker <dev@ingo-kloecker.de>2023-02-02 09:56:22 +0100
committerIngo Klöcker <dev@ingo-kloecker.de>2023-02-02 09:56:22 +0100
commitb3bdf14b37a313c21de61168e5e7545ab08fea13 (patch)
tree40fa6463b7aee178e2f706dd69427092bdaaca31
parent55c948866fb8bf4adbf0c8f53edf51a4075b753e (diff)
downloadgpgme-b3bdf14b37a313c21de61168e5e7545ab08fea13.tar.gz
cpp: Update decryption flags
* lang/cpp/src/context.h (DecryptArchive): New flag. -- This flag corresponds to the GPGME_DECRYPT_ARCHIVE flag in gpgme. GnuPG-bug-id: 6342
-rw-r--r--NEWS1
-rw-r--r--lang/cpp/src/context.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 496e6950..abab96ab 100644
--- a/NEWS
+++ b/NEWS
@@ -50,6 +50,7 @@ Noteworthy changes in version 1.19.0 (unreleased)
cpp: GpgGenCardKeyInteractor::Curve NEW.
cpp: GpgGenCardKeyInteractor::setCurve NEW.
cpp: Context::WantAddress NEW.
+ cpp: Context::DecryptArchive NEW.
cpp: Data::setFileName EXTENDED: New overload
qt: ListAllKeysJob::Option NEW.
qt: ListAllKeysJob::Options NEW.
diff --git a/lang/cpp/src/context.h b/lang/cpp/src/context.h
index d66344ce..17a82de0 100644
--- a/lang/cpp/src/context.h
+++ b/lang/cpp/src/context.h
@@ -370,6 +370,7 @@ public:
// Keep in line with core's flags
DecryptNone = 0,
DecryptVerify = 1,
+ DecryptArchive = 2,
DecryptUnwrap = 128,
DecryptMaxValue = 0x80000000
};