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

Method is_usable

atomic-canonical/src/delegation.rs:533–535  ·  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

531 /// locally revoked. Says nothing about a revocation issued elsewhere —
532 /// the server is the authority there.
533 pub fn is_usable(&self) -> bool {
534 !self.revoked_locally && !self.delegation.is_expired()
535 }
536}
537
538/// Every verified certificate in `store` naming `delegate` as its subject,

Callers 2

executeMethod · 0.45
active_for_delegateFunction · 0.45

Calls 1

is_expiredMethod · 0.45

Tested by

no test coverage detected