Function esp_idf_sys::mbedtls_x509write_crt_set_validity
source · pub unsafe extern "C" fn mbedtls_x509write_crt_set_validity(
ctx: *mut mbedtls_x509write_cert,
not_before: *const c_char,
not_after: *const c_char,
) -> c_int
Expand description
\brief Set the validity period for a Certificate Timestamps should be in string format for UTC timezone i.e. “YYYYMMDDhhmmss” e.g. “20131231235959” for December 31st 2013 at 23:59:59
\param ctx CRT context to use \param not_before not_before timestamp \param not_after not_after timestamp
\return 0 if timestamp was parsed successfully, or a specific error code