Searched refs:ext_key_usage (Results 1 – 7 of 7) sorted by relevance
/mbedtls-3.6.0/programs/x509/ |
D | cert_write.c | 202 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/ |
D | x509_crt.c | 562 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()
|
D | oid.c | 349 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/ |
D | test_suite_x509write.function | 352 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) {
|
D | test_suite_x509write.data | 85 Certificate write check Server1 SHA1, one ext_key_usage
|
/mbedtls-3.6.0/include/mbedtls/ |
D | x509_crt.h | 78 mbedtls_x509_sequence ext_key_usage; /**< Optional list of extended key usage OIDs. */ member
|
/mbedtls-3.6.0/tests/data_files/ |
D | Makefile | 1519 server5.eku-%.crt: SERVER5_EXT_OPTS=ext_key_usage=$(SERVER5_EXT_KEY_USAGE)
|