diff options
Diffstat (limited to 'lang/cpp/src/tofuinfo.h')
-rw-r--r-- | lang/cpp/src/tofuinfo.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lang/cpp/src/tofuinfo.h b/lang/cpp/src/tofuinfo.h index eb5dbcc5..ec253e96 100644 --- a/lang/cpp/src/tofuinfo.h +++ b/lang/cpp/src/tofuinfo.h @@ -93,11 +93,20 @@ public: /* Number of signatures seen for this binding. Capped at USHRT_MAX. */ unsigned short signCount() const; + /* Number of encryption done to this binding. Capped at USHRT_MAX. */ + unsigned short encrCount() const; + /** Number of seconds since epoch when the first message was verified */ - unsigned long firstSeen() const; + unsigned long signFirst() const; /** Number of seconds since epoch when the last message was verified */ - unsigned long lastSeen() const; + unsigned long signLast() const; + + /** Number of seconds since epoch when the first message was encrypted */ + unsigned long encrFirst() const; + + /** Number of seconds since epoch when the last message was encrypted */ + unsigned long encrLast() const; /* If non-NULL a human readable string summarizing the TOFU data. */ const char *description() const; |