gpgme/lang/cpp/src
Andre Heinecke 05a0e97f5c
cpp: Add some convenience functions
* lang/cpp/src/context.cpp (Context::create): New.
* lang/cpp/src/context.h: Update accordingly.
* lang/cpp/src/key.cpp, lang/cpp/src/key.h:
(Key::isBad, Subkey::isBad, UserID::isBad)
(UserID::Signature::isBad): Add shorthand for the isX checks.
* NEWS: Mention it.

--
I don't know how often I wrote:
if (key.isNull() || key.isExpired() || key.isRevoked() ...

And for the context it is good practice to use a unique ptr
so the API should make it easy.
2018-10-25 14:13:39 +02:00
..
interfaces qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
callbacks.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
callbacks.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
configuration.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
configuration.h Fix some shadow warnings 2017-07-10 17:26:46 +02:00
context_glib.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
context_p.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
context_qt.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
context_vanilla.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
context.cpp cpp: Add some convenience functions 2018-10-25 14:13:39 +02:00
context.h cpp: Add some convenience functions 2018-10-25 14:13:39 +02:00
data_p.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
data.cpp cpp: Add gpgme_data_rewind to cpp API 2018-05-29 09:19:50 +02:00
data.h cpp: Add gpgme_data_rewind to cpp API 2018-05-29 09:19:50 +02:00
decryptionresult.cpp cpp: Fix memory of DecryptionResult::symkeyAlgo 2018-07-04 12:17:43 +02:00
decryptionresult.h cpp: Add legacy_cipher_nomdc 2018-06-01 10:58:24 +02:00
defaultassuantransaction.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
defaultassuantransaction.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
editinteractor.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
editinteractor.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
encryptionresult.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
encryptionresult.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
engineinfo.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
engineinfo.h cpp: Fix version info comparison 2017-09-04 11:23:56 +02:00
error.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
eventloopinteractor.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
eventloopinteractor.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
exception.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
exception.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
global.h cpp: Add KeyListMode::Locate 2018-10-09 11:26:15 +02:00
gpgadduserideditinteractor.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
gpgadduserideditinteractor.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
gpgagentgetinfoassuantransaction.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
gpgagentgetinfoassuantransaction.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
gpggencardkeyinteractor.cpp cpp: Fix use after free in gencardkeyinteractor 2018-08-08 09:22:46 +02:00
gpggencardkeyinteractor.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
gpgmefw.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
gpgmepp_export.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
gpgmepp_version.h.in qt, cpp: Fix versioning in cmake config and header 2016-11-02 14:43:44 +01:00
GpgmeppConfig-w32.cmake.in.in qt, cpp: Add cmake config files for w32 2016-11-15 14:33:31 +01:00
GpgmeppConfig.cmake.in.in cpp: Fix CMake config library name for GPGME 2017-06-12 15:25:33 +02:00
GpgmeppConfigVersion.cmake.in qt, cpp: Fix versioning in cmake config and header 2016-11-02 14:43:44 +01:00
gpgsetexpirytimeeditinteractor.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
gpgsetexpirytimeeditinteractor.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
gpgsetownertrusteditinteractor.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
gpgsetownertrusteditinteractor.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
gpgsignkeyeditinteractor.cpp cpp: Fix handling of lsig promotion 2017-12-07 16:21:01 +01:00
gpgsignkeyeditinteractor.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
importresult.cpp cpp: Expose skipped_v3_keys 2018-03-15 16:23:18 +01:00
importresult.h cpp: Expose skipped_v3_keys 2018-03-15 16:23:18 +01:00
key.cpp cpp: Add some convenience functions 2018-10-25 14:13:39 +02:00
key.h cpp: Add some convenience functions 2018-10-25 14:13:39 +02:00
keygenerationresult.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
keygenerationresult.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
keylistresult.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
keylistresult.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
Makefile.am qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
notation.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
result_p.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
result.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
scdgetinfoassuantransaction.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
scdgetinfoassuantransaction.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
signingresult.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
signingresult.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
swdbresult.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
swdbresult.h Spelling fixes for comments and doc 2017-12-08 05:59:11 +01:00
tofuinfo.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
tofuinfo.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
trustitem.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
trustitem.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
util.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
verificationresult.cpp cpp: Add safety checks for key update 2018-07-24 08:40:28 +02:00
verificationresult.h Add flag 'is_de_vs' to decryption results and signatures. 2017-06-01 14:16:11 +02:00
vfsmountresult.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
vfsmountresult.h cpp: Get rid of AssuanResult due to its deprecation. 2016-08-24 14:15:58 +02:00