mbedtls_x509_crt::max_pathlen is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesmbedTLSmbedtls_x509_crt::max_pathlen

mbedtls_x509_crt::max_pathlen field

Optional Basic Constraint extension value: The maximum path length to the root certificate. Path length is 1 higher than RFC 5280 'meaning', so 1+

Syntax

int max_pathlen;

References

LocationReferrerText
x509_crt.h:80
int max_pathlen; /**< Optional Basic Constraint extension value: The maximum path length to the root certificate. Path length is 1 higher than RFC 5280 'meaning', so 1+ */
x509_crt.c:784x509_get_crt_ext()
&crt->ca_istrue, &crt->max_pathlen ) ) != 0 )
x509_crt.c:1610mbedtls_x509_crt_info()
if( crt->max_pathlen > 0 )
x509_crt.c:1612mbedtls_x509_crt_info()
ret = mbedtls_snprintf( p, n, ", max_pathlen=%d", crt->max_pathlen - 1 );
x509_crt.c:2047x509_crt_find_parent_in()
if( parent->max_pathlen > 0 &&
x509_crt.c:2048x509_crt_find_parent_in()
(size_t) parent->max_pathlen < 1 + path_cnt - self_cnt )

Data Use

Functions reading mbedtls_x509_crt::max_pathlen
mbedtls_x509_crt::max_pathlen