summaryrefslogtreecommitdiff
path: root/node/NetworkConfig.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-23 13:46:36 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-23 13:46:36 -0700
commit0a7a33ef8fb8cd3cdf25c48bd221298279e690c2 (patch)
tree7ddf73a9efffa65aae8d72272326bc05a6c99352 /node/NetworkConfig.hpp
parent32fa0617004e80c99b341eb1b4753705b515b53a (diff)
downloadinfinitytier-0a7a33ef8fb8cd3cdf25c48bd221298279e690c2.tar.gz
infinitytier-0a7a33ef8fb8cd3cdf25c48bd221298279e690c2.zip
Instantaneous blacklisting and credential revocation.
Diffstat (limited to 'node/NetworkConfig.hpp')
-rw-r--r--node/NetworkConfig.hpp12
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
{