/third_party/rust/crates/rust-openssl/openssl/examples/ |
D | mk_certs.rs | 41 let not_before = Asn1Time::days_from_now(0)?; in mk_ca_cert() localVariable 42 cert_builder.set_not_before(¬_before)?; in mk_ca_cert() 104 let not_before = Asn1Time::days_from_now(0)?; in mk_ca_signed_cert() localVariable 105 cert_builder.set_not_before(¬_before)?; in mk_ca_signed_cert()
|
/third_party/mbedtls/library/ |
D | x509write_crt.c | 141 const char *not_before, in mbedtls_x509write_crt_set_validity() argument 144 if (strlen(not_before) != MBEDTLS_X509_RFC5280_UTC_TIME_LEN - 1 || in mbedtls_x509write_crt_set_validity() 148 strncpy(ctx->not_before, not_before, MBEDTLS_X509_RFC5280_UTC_TIME_LEN); in mbedtls_x509write_crt_set_validity() 150 ctx->not_before[MBEDTLS_X509_RFC5280_UTC_TIME_LEN - 1] = 'Z'; in mbedtls_x509write_crt_set_validity() 511 x509_write_time(&c, buf, ctx->not_before, in mbedtls_x509write_crt_der()
|
/third_party/mbedtls/tests/data_files/ |
D | Makefile | 53 …t CA" issuer_key=$(test_ca_key_file_rsa) issuer_pwd=$(test_ca_pwd_rsa) not_before=20190210144400 n… 64 …t CA" issuer_key=$(test_ca_key_file_rsa) issuer_pwd=$(test_ca_pwd_rsa) not_before=20190210144400 n… 72 …t CA" issuer_key=$(test_ca_key_file_rsa) issuer_pwd=$(test_ca_pwd_rsa) not_before=20190210144400 n… 175 …L,O=PolarSSL,CN=Polarssl Test EC CA" issuer_key=$(test_ca_key_file_ec) not_before=20190210144400 n… 181 not_before=20290210144400 not_after=20390210144400 md=SHA256 version=3 output_file=$@ 282 ….net" issuer_crt=enco-ca-prstr.pem issuer_key=rsa_pkcs1_1024_clear.pem not_before=20190210144406 n… 297 …_crt) issuer_key=$(test_ca_key_file_rsa) issuer_pwd=$(test_ca_pwd_rsa) not_before=20190210144406 n… 300 …_crt) issuer_key=$(test_ca_key_file_rsa) issuer_pwd=$(test_ca_pwd_rsa) not_before=20190210144406 n… 372 not_before=20190210144406 not_after=20290210144406 \ 386 …EC CA" issuer_key=$(test_ca_key_file_ec) issuer_pwd=$(test_ca_pwd_rsa) not_before=20190210144400 n… [all …]
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_x509write.function | 327 data_t *serial_arg, char *not_before, char *not_after, 427 TEST_ASSERT(mbedtls_x509write_crt_set_validity(&crt, not_before, 528 if (not_before[0] == '2' && (not_before[1] > '0' || not_before[2] > '4')) { 532 not_before += 2; 547 TEST_ASSERT(memcmp(p, not_before, sz - 1) == 0);
|
/third_party/mbedtls/programs/x509/ |
D | cert_write.c | 191 const char *not_before; /* validity period not before */ member 347 opt.not_before = DFL_NOT_BEFORE; in main() 391 opt.not_before = q; in main() 747 ret = mbedtls_x509write_crt_set_validity(&crt, opt.not_before, opt.not_after); in main()
|
/third_party/mbedtls/include/mbedtls/ |
D | x509_crt.h | 237 char MBEDTLS_PRIVATE(not_before)[MBEDTLS_X509_RFC5280_UTC_TIME_LEN + 1]; 982 int mbedtls_x509write_crt_set_validity(mbedtls_x509write_cert *ctx, const char *not_before,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
D | x509v3.h | 60 os_time_t not_before; member
|
D | x509v3.c | 730 &cert->not_before) < 0) { in x509_parse_validity() 749 (unsigned long) cert->not_before, in x509_parse_validity() 2103 (unsigned long) cert->not_before || in x509_certificate_chain_validate() 2108 now.sec, cert->not_before, cert->not_after); in x509_certificate_chain_validate()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
D | x509v3.h | 60 os_time_t not_before; member
|
D | x509v3.c | 720 &cert->not_before) < 0) { in x509_parse_validity() 739 (unsigned long) cert->not_before, in x509_parse_validity() 2165 (unsigned long) cert->not_before || in x509_certificate_chain_validate() 2170 now.sec, cert->not_before, cert->not_after); in x509_certificate_chain_validate()
|
/third_party/rust/crates/rust-openssl/openssl/src/x509/ |
D | tests.rs | 76 let not_before = cert.not_before().to_string(); in test_cert_issue_validity() localVariable 79 assert_eq!(not_before, "Aug 14 17:00:03 2016 GMT"); in test_cert_issue_validity()
|
D | mod.rs | 234 pub fn set_not_before(&mut self, not_before: &Asn1TimeRef) -> Result<(), ErrorStack> { in set_not_before() 235 unsafe { cvt(X509_set1_notBefore(self.0.as_ptr(), not_before.as_ptr())).map(|_| ()) } in set_not_before() 579 pub fn not_before(&self) -> &Asn1TimeRef { in not_before() method 805 debug_struct.field("not_before", &self.not_before()); in fmt()
|