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
This commit is contained in:
Ingo Klöcker 2023-02-02 09:56:22 +01:00
parent 55c948866f
commit b3bdf14b37
No known key found for this signature in database
GPG Key ID: F5A5D1692277A1E9
2 changed files with 2 additions and 0 deletions

1
NEWS
View File

@ -50,6 +50,7 @@ Noteworthy changes in version 1.19.0 (unreleased)
cpp: GpgGenCardKeyInteractor::Curve NEW. cpp: GpgGenCardKeyInteractor::Curve NEW.
cpp: GpgGenCardKeyInteractor::setCurve NEW. cpp: GpgGenCardKeyInteractor::setCurve NEW.
cpp: Context::WantAddress NEW. cpp: Context::WantAddress NEW.
cpp: Context::DecryptArchive NEW.
cpp: Data::setFileName EXTENDED: New overload cpp: Data::setFileName EXTENDED: New overload
qt: ListAllKeysJob::Option NEW. qt: ListAllKeysJob::Option NEW.
qt: ListAllKeysJob::Options NEW. qt: ListAllKeysJob::Options NEW.

View File

@ -370,6 +370,7 @@ public:
// Keep in line with core's flags // Keep in line with core's flags
DecryptNone = 0, DecryptNone = 0,
DecryptVerify = 1, DecryptVerify = 1,
DecryptArchive = 2,
DecryptUnwrap = 128, DecryptUnwrap = 128,
DecryptMaxValue = 0x80000000 DecryptMaxValue = 0x80000000
}; };