Home
last modified time | relevance | path

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

/mbedtls-3.4.0/programs/x509/
Dcert_write.c189 mbedtls_asn1_sequence *ext_key_usage; /* extended key usages */ member
256 mbedtls_asn1_sequence *ext_key_usage; in main() local
299 opt.ext_key_usage = DFL_EXT_KEY_USAGE; in main()
460 mbedtls_asn1_sequence **tail = &opt.ext_key_usage; in main()
467 ext_key_usage = mbedtls_calloc( 1, sizeof(mbedtls_asn1_sequence) ); in main()
468 ext_key_usage->buf.tag = MBEDTLS_ASN1_OID; in main()
470 SET_OID( ext_key_usage->buf, MBEDTLS_OID_SERVER_AUTH ); in main()
472 SET_OID( ext_key_usage->buf, MBEDTLS_OID_CLIENT_AUTH ); in main()
474 SET_OID( ext_key_usage->buf, MBEDTLS_OID_CODE_SIGNING ); in main()
476 SET_OID( ext_key_usage->buf, MBEDTLS_OID_EMAIL_PROTECTION ); in main()
[all …]
/mbedtls-3.4.0/tests/suites/
Dtest_suite_x509write.function298 char *ext_key_usage,
407 if( strcmp( ext_key_usage, "NULL" ) != 0 )
420 if( strcmp( ext_key_usage, "serverAuth" ) == 0 )
424 else if( strcmp( ext_key_usage, "codeSigning,timeStamping" ) == 0 )
Dtest_suite_x509write.data85 Certificate write check Server1 SHA1, one ext_key_usage
/mbedtls-3.4.0/library/
Doid.c315 FN_OID_TYPED_FROM_ASN1(mbedtls_oid_descriptor_t, ext_key_usage, oid_ext_key_usage)
316 FN_OID_GET_ATTR1(mbedtls_oid_get_extended_key_usage, mbedtls_oid_descriptor_t, ext_key_usage, const…
Dx509_crt.c600 mbedtls_x509_sequence *ext_key_usage) in x509_get_ext_key_usage() argument
604 if( ( ret = mbedtls_asn1_get_sequence_of( p, end, ext_key_usage, MBEDTLS_ASN1_OID ) ) != 0 ) in x509_get_ext_key_usage()
608 if( ext_key_usage->buf.p == NULL ) in x509_get_ext_key_usage()
1005 &crt->ext_key_usage ) ) != 0 ) in x509_get_crt_ext()
2189 &crt->ext_key_usage ) ) != 0 ) in mbedtls_x509_crt_info()
2286 for( cur = &crt->ext_key_usage; cur != NULL; cur = cur->next ) in mbedtls_x509_crt_check_extended_key_usage()
3299 mbedtls_asn1_sequence_free( cert_cur->ext_key_usage.next ); in mbedtls_x509_crt_free()
/mbedtls-3.4.0/include/mbedtls/
Dx509_crt.h90 mbedtls_x509_sequence ext_key_usage; /**< Optional list of extended key usage OIDs. */ member