diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-23 13:46:36 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-23 13:46:36 -0700 |
| commit | 0a7a33ef8fb8cd3cdf25c48bd221298279e690c2 (patch) | |
| tree | 7ddf73a9efffa65aae8d72272326bc05a6c99352 /node/NetworkConfig.hpp | |
| parent | 32fa0617004e80c99b341eb1b4753705b515b53a (diff) | |
| download | infinitytier-0a7a33ef8fb8cd3cdf25c48bd221298279e690c2.tar.gz infinitytier-0a7a33ef8fb8cd3cdf25c48bd221298279e690c2.zip | |
Instantaneous blacklisting and credential revocation.
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 { |
