Searched refs:max_pathlen (Results 1 – 4 of 4) sorted by relevance
136 int is_ca, int max_pathlen ) in mbedtls_x509write_crt_set_basic_constraints() argument145 if( is_ca && max_pathlen > 127 ) in mbedtls_x509write_crt_set_basic_constraints()150 if( max_pathlen >= 0 ) in mbedtls_x509write_crt_set_basic_constraints()153 max_pathlen ) ); in mbedtls_x509write_crt_set_basic_constraints()
476 int *max_pathlen ) in x509_get_basic_constraints() argument487 *max_pathlen = 0; /* endless */ in x509_get_basic_constraints()511 if( ( ret = mbedtls_asn1_get_int( p, end, max_pathlen ) ) != 0 ) in x509_get_basic_constraints()520 if( *max_pathlen == INT_MAX ) in x509_get_basic_constraints()524 (*max_pathlen)++; in x509_get_basic_constraints()983 &crt->ca_istrue, &crt->max_pathlen ) ) != 0 ) in x509_get_crt_ext()2136 if( crt->max_pathlen > 0 ) in mbedtls_x509_crt_info()2138 ret = mbedtls_snprintf( p, n, ", max_pathlen=%d", crt->max_pathlen - 1 ); in mbedtls_x509_crt_info()2602 if( parent->max_pathlen > 0 && in x509_crt_find_parent_in()2603 (size_t) parent->max_pathlen < 1 + path_cnt - self_cnt ) in x509_crt_find_parent_in()
84 …int max_pathlen; /**< Optional Basic Constraint extension value: The maximum path lengt… member987 int is_ca, int max_pathlen );
2702 * The X509 max_pathlen constraint was not enforced on intermediate
Completed in 16 milliseconds