aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/verificationresult.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cpp/src/verificationresult.h')
-rw-r--r--lang/cpp/src/verificationresult.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/cpp/src/verificationresult.h b/lang/cpp/src/verificationresult.h
index 17f0568b..5a2927f9 100644
--- a/lang/cpp/src/verificationresult.h
+++ b/lang/cpp/src/verificationresult.h
@@ -40,6 +40,7 @@ namespace GpgME
class Error;
class Signature;
class Notation;
+class TofuInfo;
class GPGMEPP_EXPORT VerificationResult : public Result
{
@@ -156,6 +157,18 @@ public:
GpgME::Notation notation(unsigned int index) const;
std::vector<GpgME::Notation> 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<GpgME::TofuInfo> tofuInfo() const;
+
private:
std::shared_ptr<VerificationResult::Private> d;
unsigned int idx;