Home
last modified time | relevance | path

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

/mbedtls-3.7.0/tests/data_files/dir4/
DReadme5 cert11.crt -> cert12.crt (max_pathlen=0) -> cert13.crt -> cert14.crt
10 cert21.crt (max_pathlen=0) -> cert22.crt -> cert23.crt
15 cert31.crt (max_pathlen=1) -> cert32.crt -> cert33.crt -> cert34.crt
20 cert41.crt -> cert42.crt (max_pathlen=1) -> cert43.crt -> cert44.crt -> cert45.crt
25 cert51.crt -> cert52.crt (max_pathlen=1) -> cert53.crt -> cert54.crt
30 cert61.crt (max_pathlen=1) -> cert62.crt -> cert63.crt
36 cert71.crt (max_pathlen=1) -> cert72.crt -> cert73.crt (self signed) -> cert74.crt -> cert74.crt
41 cert81.crt -> cert82.crt (max_pathlen=0) -> cert83.crt
46 cert91.crt (max_pathlen=0) -> cert92.crt
/mbedtls-3.7.0/programs/x509/
Dcert_write.c195 int max_pathlen; /* maximum CA path length */ member
362 opt.max_pathlen = DFL_MAX_PATHLEN; in main()
467 opt.max_pathlen = atoi(q); in main()
468 if (opt.max_pathlen < -1 || opt.max_pathlen > 127) { in main()
872 opt.max_pathlen); in main()
/mbedtls-3.7.0/library/
Dx509write_crt.c162 int is_ca, int max_pathlen) in mbedtls_x509write_crt_set_basic_constraints() argument
171 if (is_ca && max_pathlen > 127) { in mbedtls_x509write_crt_set_basic_constraints()
176 if (max_pathlen >= 0) { in mbedtls_x509write_crt_set_basic_constraints()
178 max_pathlen)); in mbedtls_x509write_crt_set_basic_constraints()
Dx509_crt.c495 int *max_pathlen) in x509_get_basic_constraints() argument
506 *max_pathlen = 0; /* endless */ in x509_get_basic_constraints()
535 if ((ret = mbedtls_asn1_get_int(p, end, max_pathlen)) != 0) { in x509_get_basic_constraints()
546 if (*max_pathlen == INT_MAX) { in x509_get_basic_constraints()
551 (*max_pathlen)++; in x509_get_basic_constraints()
965 &crt->ca_istrue, &crt->max_pathlen)) != 0) { in x509_get_crt_ext()
1827 if (crt->max_pathlen > 0) { in mbedtls_x509_crt_info()
1828 ret = mbedtls_snprintf(p, n, ", max_pathlen=%d", crt->max_pathlen - 1); in mbedtls_x509_crt_info()
2295 if (parent->max_pathlen > 0 && in x509_crt_find_parent_in()
2296 (size_t) parent->max_pathlen < 1 + path_cnt - self_cnt) { in x509_crt_find_parent_in()
/mbedtls-3.7.0/include/mbedtls/
Dx509_crt.h74 …int MBEDTLS_PRIVATE(max_pathlen); /**< Optional Basic Constraint extension value: The m…
1091 int is_ca, int max_pathlen);
/mbedtls-3.7.0/
DChangeLog4203 * The X509 max_pathlen constraint was not enforced on intermediate