From 0a7a33ef8fb8cd3cdf25c48bd221298279e690c2 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 23 Aug 2016 13:46:36 -0700 Subject: Instantaneous blacklisting and credential revocation. --- node/NetworkConfig.hpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'node/NetworkConfig.hpp') 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 - inline bool isCredentialTimestampValid(const C &cred) const - { - return ( (cred.timestamp() >= timestamp) || ((timestamp - cred.timestamp()) <= credentialTimeToLive) ); - } - /* inline void dump() const { -- cgit v1.2.3