Skip to main content

Module time

Module time 

Source
Expand description

Wall-clock abstractions for certificate validation and ticket lifetimes.

Structs§

StaticTimeSource
Fixed timestamp for tests or devices without an RTC.
StdTimeSource
Uses the host system clock when std is enabled.

Traits§

TimeSource
Supplies whole seconds since the Unix epoch.

Functions§

noxtls_format_unix_secs_as_generalized_time
Formats unix_secs as ASN.1 GeneralizedTime YYYYMMDDhhmmssZ for X.509 validation.