MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_usable

Method is_usable

atomic-canonical/src/delegation.rs:501–503  ·  view source on GitHub ↗

Usable as far as this machine can tell: verified, unexpired, not locally revoked. Says nothing about a revocation issued elsewhere — the server is the authority there.

(&self)

Source from the content-addressed store, hash-verified

499 /// locally revoked. Says nothing about a revocation issued elsewhere —
500 /// the server is the authority there.
501 pub fn is_usable(&self) -> bool {
502 !self.revoked_locally && !self.delegation.is_expired()
503 }
504}
505
506/// Every verified certificate in `store` naming `delegate` as its subject,

Callers 1

active_for_delegateFunction · 0.45

Calls 1

is_expiredMethod · 0.45

Tested by

no test coverage detected