From 90eb80134b2d7720b187a6b7fd16f40f23cf1022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Tue, 21 May 2024 16:32:23 +0200 Subject: cpp: Add information about revocation keys to Key * lang/cpp/src/gpgmefw.h (gpgme_revocation_key_t): New forward declaration. * lang/cpp/src/key.cpp, lang/cpp/src/key.h (class Key): New methods revocationKey, numRevocationKeys, revocationKeys. (class RevocationKey): New. (swap): New overload for RevocationKey. (operator<<): New overload for RevocationKey. * lang/cpp/src/key.cpp (operator<<): Add information about revocation keys to the output stream for Key. * lang/cpp/tests/run-keylist.cpp (main): Don't output Key if nextKey failed, e.g. at the end of the key listing. -- GnuPG-bug-id: 7118 --- NEWS | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index ae79ce93..b7309454 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,9 @@ Noteworthy changes in version 1.24.0 (unrelease) * Add information about designated revocation keys. [T7118] + * cpp: Provide information about designated revocation keys for a Key. + [T7118] + * qt: Allow reading the data to decrypt/encrypt/sign/verify directly from files. [T6550] @@ -23,6 +26,10 @@ Noteworthy changes in version 1.24.0 (unrelease) gpgme_revocation_key_t NEW. cpp: Context::EncryptFile NEW. cpp: SignatureMode::SignFile NEW. + cpp: RevocationKey NEW. + cpp: Key::revocationKey NEW. + cpp: Key::numRevocationKeys NEW. + cpp: Key::revocationKeys NEW. qt: DecryptVerifyJob::setInputFile NEW. qt: DecryptVerifyJob::inputFile NEW. qt: DecryptVerifyJob::setOutputFile NEW. -- cgit v1.2.3