Has this delegation passed its expiry?
(&self)
| 700 | |
| 701 | /// Has this delegation passed its expiry? |
| 702 | pub fn is_expired(&self) -> bool { |
| 703 | self.expires.map(|exp| exp < Utc::now()).unwrap_or(false) |
| 704 | } |
| 705 | |
| 706 | /// Status from purely local facts. Revocation is server state, so a caller |
| 707 | /// that knows a revocation exists should report [`DelegationStatus::Revoked`] |