Skip to main content

TrustedEvidenceClock

Trait TrustedEvidenceClock 

Source
pub trait TrustedEvidenceClock {
    // Required method
    fn now_unix_seconds(&self) -> Option<u64>;
}
Expand description

Trusted current UTC source used for grant expiry checks.

Implementations must return None when UTC cannot be established. The value is sampled once for each verification call, never cached by the authenticator. It is distinct from the signed monotonic capture clock.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§