Home
last modified time | relevance | path

Searched refs:ext_key_usage (Results 1 – 7 of 7) sorted by relevance

/mbedtls-3.6.0/programs/x509/
Dcert_write.c202 mbedtls_asn1_sequence *ext_key_usage; /* extended key usages */ member
310 mbedtls_asn1_sequence *ext_key_usage; in main() local
364 opt.ext_key_usage = DFL_EXT_KEY_USAGE; in main()
500 mbedtls_asn1_sequence **tail = &opt.ext_key_usage; in main()
507 ext_key_usage = mbedtls_calloc(1, sizeof(mbedtls_asn1_sequence)); in main()
508 ext_key_usage->buf.tag = MBEDTLS_ASN1_OID; in main()
510 SET_OID(ext_key_usage->buf, MBEDTLS_OID_SERVER_AUTH); in main()
512 SET_OID(ext_key_usage->buf, MBEDTLS_OID_CLIENT_AUTH); in main()
514 SET_OID(ext_key_usage->buf, MBEDTLS_OID_CODE_SIGNING); in main()
516 SET_OID(ext_key_usage->buf, MBEDTLS_OID_EMAIL_PROTECTION); in main()
[all …]
/mbedtls-3.6.0/library/
Dx509_crt.c562 mbedtls_x509_sequence *ext_key_usage) in x509_get_ext_key_usage() argument
566 if ((ret = mbedtls_asn1_get_sequence_of(p, end, ext_key_usage, MBEDTLS_ASN1_OID)) != 0) { in x509_get_ext_key_usage()
571 if (ext_key_usage->buf.p == NULL) { in x509_get_ext_key_usage()
980 &crt->ext_key_usage)) != 0) { in x509_get_crt_ext()
1866 &crt->ext_key_usage)) != 0) { in mbedtls_x509_crt_info()
1967 for (cur = &crt->ext_key_usage; cur != NULL; cur = cur->next) { in mbedtls_x509_crt_check_extended_key_usage()
3240 mbedtls_asn1_sequence_free(cert_cur->ext_key_usage.next); in mbedtls_x509_crt_free()
Doid.c349 FN_OID_TYPED_FROM_ASN1(mbedtls_oid_descriptor_t, ext_key_usage, oid_ext_key_usage)
352 ext_key_usage,
/mbedtls-3.6.0/tests/suites/
Dtest_suite_x509write.function352 char *ext_key_usage,
513 if (strcmp(ext_key_usage, "NULL") != 0) {
525 if (strcmp(ext_key_usage, "serverAuth") == 0) {
527 } else if (strcmp(ext_key_usage, "codeSigning,timeStamping") == 0) {
Dtest_suite_x509write.data85 Certificate write check Server1 SHA1, one ext_key_usage
/mbedtls-3.6.0/include/mbedtls/
Dx509_crt.h78 mbedtls_x509_sequence ext_key_usage; /**< Optional list of extended key usage OIDs. */ member
/mbedtls-3.6.0/tests/data_files/
DMakefile1519 server5.eku-%.crt: SERVER5_EXT_OPTS=ext_key_usage=$(SERVER5_EXT_KEY_USAGE)