Home
last modified time | relevance | path

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

/net-tools-3.6.0/mbedtls-2.4.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
/net-tools-3.6.0/mbedtls-2.4.0/programs/x509/
Dcert_write.c151 int max_pathlen; /* maximum CA path length */ member
243 opt.max_pathlen = DFL_MAX_PATHLEN; in main()
303 opt.max_pathlen = atoi( q ); in main()
304 if( opt.max_pathlen < -1 || opt.max_pathlen > 127 ) in main()
565 opt.max_pathlen ); in main()
/net-tools-3.6.0/mbedtls-2.4.0/library/
Dx509write_crt.c139 int is_ca, int max_pathlen ) in mbedtls_x509write_crt_set_basic_constraints() argument
148 if( is_ca && max_pathlen > 127 ) in mbedtls_x509write_crt_set_basic_constraints()
153 if( max_pathlen >= 0 ) in mbedtls_x509write_crt_set_basic_constraints()
155 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_int( &c, buf, max_pathlen ) ); in mbedtls_x509write_crt_set_basic_constraints()
Dx509_crt.c304 int *max_pathlen ) in x509_get_basic_constraints() argument
315 *max_pathlen = 0; /* endless */ in x509_get_basic_constraints()
339 if( ( ret = mbedtls_asn1_get_int( p, end, max_pathlen ) ) != 0 ) in x509_get_basic_constraints()
346 (*max_pathlen)++; in x509_get_basic_constraints()
615 &crt->ca_istrue, &crt->max_pathlen ) ) != 0 ) in x509_get_crt_ext()
1437 if( crt->max_pathlen > 0 ) in mbedtls_x509_crt_info()
1439 ret = mbedtls_snprintf( p, n, ", max_pathlen=%d", crt->max_pathlen - 1 ); in mbedtls_x509_crt_info()
1955 if( trust_ca->max_pathlen > 0 && in x509_crt_verify_top()
1956 trust_ca->max_pathlen < check_path_cnt - self_cnt ) in x509_crt_verify_top()
2120 if( grandparent->max_pathlen > 0 && in x509_crt_verify_child()
[all …]
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/
Dx509_crt.h79 …int max_pathlen; /**< Optional Basic Constraint extension value: The maximum path lengt… member
546 int is_ca, int max_pathlen );
/net-tools-3.6.0/mbedtls-2.4.0/
DChangeLog171 * The X509 max_pathlen constraint was not enforced on intermediate