Instantaneous blacklisting and credential revocation.
This commit is contained in:
@@ -387,6 +387,17 @@ public:
|
||||
return _memberships[tag.issuedTo()].addCredential(RR,tag);
|
||||
}
|
||||
|
||||
/**
|
||||
* Blacklist COM, tags, and capabilities before this time
|
||||
*
|
||||
* @param ts Blacklist cutoff
|
||||
*/
|
||||
inline void blacklistBefore(const Address &peerAddress,const uint64_t ts)
|
||||
{
|
||||
Mutex::Lock _l(_lock);
|
||||
_memberships[peerAddress].blacklistBefore(ts);
|
||||
}
|
||||
|
||||
/**
|
||||
* Destroy this network
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user