Home
last modified time | relevance | path

Searched refs:not_before (Results 1 – 4 of 4) sorted by relevance

/net-tools-2.7.6/mbedtls-2.4.0/library/
Dx509write_crt.c113 int mbedtls_x509write_crt_set_validity( mbedtls_x509write_cert *ctx, const char *not_before, in mbedtls_x509write_crt_set_validity() argument
116 if( strlen( not_before ) != MBEDTLS_X509_RFC5280_UTC_TIME_LEN - 1 || in mbedtls_x509write_crt_set_validity()
121 strncpy( ctx->not_before, not_before, MBEDTLS_X509_RFC5280_UTC_TIME_LEN ); in mbedtls_x509write_crt_set_validity()
123 ctx->not_before[MBEDTLS_X509_RFC5280_UTC_TIME_LEN - 1] = 'Z'; in mbedtls_x509write_crt_set_validity()
360 MBEDTLS_ASN1_CHK_ADD( sub_len, x509_write_time( &c, tmp_buf, ctx->not_before, in mbedtls_x509write_crt_der()
/net-tools-2.7.6/mbedtls-2.4.0/include/mbedtls/
Dx509_crt.h139 char not_before[MBEDTLS_X509_RFC5280_UTC_TIME_LEN + 1]; member
458 int mbedtls_x509write_crt_set_validity( mbedtls_x509write_cert *ctx, const char *not_before,
/net-tools-2.7.6/mbedtls-2.4.0/programs/x509/
Dcert_write.c146 const char *not_before; /* validity period not before */ member
238 opt.not_before = DFL_NOT_BEFORE; in main()
279 opt.not_before = q; in main()
551 ret = mbedtls_x509write_crt_set_validity( &crt, opt.not_before, opt.not_after ); in main()
/net-tools-2.7.6/mbedtls-2.4.0/tests/suites/
Dtest_suite_x509write.function77 char *serial_str, char *not_before, char *not_after,
107 TEST_ASSERT( mbedtls_x509write_crt_set_validity( &crt, not_before,