Skip to main content

Crate noxtls_platform

Crate noxtls_platform 

Source
Expand description

Portable hooks for wall time, monotonic timers, and entropy suitable for embedded TLS stacks.

Re-exports§

pub use entropy::StdEntropy;
pub use entropy::EntropySource;
pub use entropy::TestEntropySource;
pub use time::StdTimeSource;
pub use time::noxtls_format_unix_secs_as_generalized_time;
pub use time::StaticTimeSource;
pub use time::TimeSource;

Modules§

entropy
Entropy sources for DRBG seeding on embedded and hosted targets.
time
Wall-clock abstractions for certificate validation and ticket lifetimes.

Functions§

noxtls_unix_timestamp_secs
Reads whole seconds since the Unix epoch using the system clock when std is enabled.

Type Aliases§

GeneralizedTimeString
PKIX GeneralizedTime string (YYYYMMDDhhmmssZ).
MonotonicMillis
Millisecond-resolution opaque timestamp used by DTLS flight and retransmit timers.