diff options
Diffstat (limited to 'node/NetworkConfig.hpp')
-rw-r--r-- | node/NetworkConfig.hpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/node/NetworkConfig.hpp b/node/NetworkConfig.hpp index e1a4e302..22ffb1cf 100644 --- a/node/NetworkConfig.hpp +++ b/node/NetworkConfig.hpp @@ -360,18 +360,6 @@ public: return (Tag *)0; } - /** - * Check whether a capability or tag is expired - * - * @param cred Credential to check -- must have timestamp() accessor method - * @return True if credential is NOT expired - */ - template<typename C> - inline bool isCredentialTimestampValid(const C &cred) const - { - return ( (cred.timestamp() >= timestamp) || ((timestamp - cred.timestamp()) <= credentialTimeToLive) ); - } - /* inline void dump() const { |