From 799b168243e6499ac01bf59e0656547f353a2589 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Tue, 23 Aug 2016 16:40:21 +0200 Subject: Cpp: Move tofuinfo from signature to userid * lang/cpp/src/key.cpp (UserID::tofuInfo): New. * lang/cpp/src/key.h: Update accordingly. * lang/cpp/src/tofuinfo.cpp: Remove dropped fields. * lang/cpp/src/tofuinfo.h: Update accordingly. * lang/cpp/src/verificationresult.cpp, lang/cpp/src/verificationresult.h: Remove tofu info. * lang/qt/tests/t-tofuinfo.cpp: Disable for now. -- With be4ff75d7 Tofu info now lives with a UserID Object. While this breaks API it was not yet released. --- lang/cpp/src/verificationresult.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lang/cpp/src/verificationresult.h') diff --git a/lang/cpp/src/verificationresult.h b/lang/cpp/src/verificationresult.h index f5fbc2ec..3394a474 100644 --- a/lang/cpp/src/verificationresult.h +++ b/lang/cpp/src/verificationresult.h @@ -40,7 +40,6 @@ namespace GpgME class Error; class Signature; class Notation; -class TofuInfo; class GPGMEPP_EXPORT VerificationResult : public Result { @@ -158,18 +157,6 @@ public: GpgME::Notation notation(unsigned int index) const; std::vector notations() const; - /** List of TOFU stats for this signature. - * - * For each UserID of the key used to create this - * signature a tofu entry is returned. - * - * Warning: Addresses can be ambigous if there are multiple UserID's - * with the same mailbox in a key. - * - * @returns The list of TOFU stats. - */ - std::vector tofuInfo() const; - private: std::shared_ptr d; unsigned int idx; -- cgit v1.2.3