mbedtls_x509_crt_profile is only used within mbedTLS.
 
Symbols
loading...
Files
loading...

mbedtls_x509_crt_profile struct

Security profile for certificate verification. All lists are bitfields, built by ORing flags from MBEDTLS_X509_ID_FLAG().

Syntax

typedef struct mbedtls_x509_crt_profile {     uint32_t allowed_mds;            uint32_t allowed_pks;            uint32_t allowed_curves;         uint32_t rsa_min_bitlen;     } mbedtls_x509_crt_profile;

Fields

allowed_mds

MDs for signatures. Read more...

allowed_pks

PK algs for signatures. Read more...

allowed_curves

Elliptic curves for ECDSA. Read more...

rsa_min_bitlen

Minimum size for RSA keys. Read more...

References

LocationReferrerScopeText
x509_crt.h:108
typedef struct mbedtls_x509_crt_profile
x509_crt.h:115
ssl.h:896mbedtls_ssl_config::cert_profilembedtls_ssl_config
const mbedtls_x509_crt_profile *cert_profile; /*!< verification profile */
ssl.h:2008mbedtls_ssl_conf_cert_profile()::profilembedtls_ssl_conf_cert_profile()
ssl_tls.c:7230mbedtls_ssl_conf_cert_profile()::profilembedtls_ssl_conf_cert_profile()
x509_crt.c:97mbedtls_x509_crt_profile_default
x509_crt.c:116mbedtls_x509_crt_profile_next
x509_crt.c:141mbedtls_x509_crt_profile_suiteb
x509_crt.c:163x509_profile_check_md_alg()::profilex509_profile_check_md_alg()
x509_crt.c:179x509_profile_check_pk_alg()::profilex509_profile_check_pk_alg()
x509_crt.c:195x509_profile_check_key()::profilex509_profile_check_key()
x509_crt.c:2264x509_crt_verify_chain()::profilex509_crt_verify_chain()
x509_crt.c:2515mbedtls_x509_crt_verify_with_profile()::profilembedtls_x509_crt_verify_with_profile()
x509_crt.c:2537mbedtls_x509_crt_verify_restartable()::profilembedtls_x509_crt_verify_restartable()
x509_crt.h:115mbedtls_x509_crt_profile
x509_crt.h:208mbedtls_x509_crt_profile_default
x509_crt.h:214mbedtls_x509_crt_profile_next
x509_crt.h:219mbedtls_x509_crt_profile_suiteb
x509_crt.h:423mbedtls_x509_crt_verify_with_profile()::profilembedtls_x509_crt_verify_with_profile()
x509_crt.h:453mbedtls_x509_crt_verify_restartable()::profilembedtls_x509_crt_verify_restartable()