1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Revocation — immediate, fail-closed.
//!
//! A [`RevocationSet`] is the set of revoked capability ids a node currently
//! knows about. [`authorize`](crate::authorize) checks it on every access and (in
//! a chain) on every link, so a revoked grant — or any ancestor of it — is denied
//! the moment the node learns of the revocation.
//!
//! The honest boundary: "immediate" means *as soon as the revocation reaches this
//! node's set*. Propagating revocations across a partitioned mesh is the
//! transport's job; the engine simply fails closed against whatever set it holds.
use HashSet;
/// The set of revoked capability ids known to a node.