Function oasis_core_runtime::common::time::insecure_posix_time
source ยท pub fn insecure_posix_time() -> i64
Expand description
Returns the number of seconds since the UNIX epoch. The time returned is guaranteed to never decrease within each enclave instance (though it may decrease iff the enclave is re-launched).
The returned timestamp MUST NOT be trusted on in any way, as the underlying time source is reliant on the host operating system.