Searched refs:not_before (Results 1 – 4 of 4) sorted by relevance
| /mbedtls-latest/library/ |
| D | x509write_crt.c | 134 const char *not_before, in mbedtls_x509write_crt_set_validity() argument 137 if (strlen(not_before) != MBEDTLS_X509_RFC5280_UTC_TIME_LEN - 1 || in mbedtls_x509write_crt_set_validity() 141 strncpy(ctx->not_before, not_before, MBEDTLS_X509_RFC5280_UTC_TIME_LEN); in mbedtls_x509write_crt_set_validity() 143 ctx->not_before[MBEDTLS_X509_RFC5280_UTC_TIME_LEN - 1] = 'Z'; in mbedtls_x509write_crt_set_validity() 512 x509_write_time(&c, buf, ctx->not_before, in mbedtls_x509write_crt_der()
|
| /mbedtls-latest/tests/suites/ |
| D | test_suite_x509write.function | 347 data_t *serial_arg, char *not_before, char *not_after, 478 TEST_ASSERT(mbedtls_x509write_crt_set_validity(&crt, not_before, 582 if (not_before[0] == '2' && (not_before[1] > '0' || not_before[2] > '4')) { 586 not_before += 2; 601 TEST_ASSERT(memcmp(p, not_before, sz - 1) == 0);
|
| /mbedtls-latest/programs/x509/ |
| D | cert_write.c | 189 const char *not_before; /* validity period not before */ member 356 opt.not_before = DFL_NOT_BEFORE; in main() 401 opt.not_before = q; in main() 856 ret = mbedtls_x509write_crt_set_validity(&crt, opt.not_before, opt.not_after); in main()
|
| /mbedtls-latest/include/mbedtls/ |
| D | x509_crt.h | 226 char MBEDTLS_PRIVATE(not_before)[MBEDTLS_X509_RFC5280_UTC_TIME_LEN + 1]; 1003 int mbedtls_x509write_crt_set_validity(mbedtls_x509write_cert *ctx, const char *not_before,
|