mbedTLS
mbedtls_x509_crt_profile
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
mbedTLS
mbedtls_x509_crt_profile
mbedtls_x509_crt_profile struct
Security profile for certificate verification. All lists are bitfields, built by ORing flags from MBEDTLS_X509_ID_FLAG().
Syntax
Show:
Summary
Declaration
from
x509_crt.h:108
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
Field
Declared as
Description
mbedtls_x509_crt_profile::allowed_mds
uint32_t
MDs for signatures.
mbedtls_x509_crt_profile::allowed_pks
uint32_t
PK algs for signatures.
mbedtls_x509_crt_profile::allowed_curves
uint32_t
Elliptic curves for ECDSA.
mbedtls_x509_crt_profile::rsa_min_bitlen
uint32_t
Minimum size for RSA keys.
Related Functions
Found 7 other functions taking a
mbedtls_x509_crt_profile
argument:
Function
Description
mbedtls_x509_crt_verify_restartable()
Restartable version of \c mbedtls_crt_verify_with_profile()
x509_profile_check_pk_alg()
x509_profile_check_key()
mbedtls_ssl_conf_cert_profile()
Set the X.509 security profile used for verification
mbedtls_x509_crt_verify_with_profile()
Verify the certificate signature according to profile
x509_profile_check_md_alg()
x509_crt_verify_chain()
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
mbedtls_x509_crt_profile
x509_crt.h:108
mbedtls_x509_crt_profile
;
x509_crt.h:115
const
mbedtls_x509_crt_profile
*
cert_profile
;
/*!< verification profile */
ssl.h:896
mbedtls_ssl_config
mbedtls_ssl_config::cert_profile
const
mbedtls_x509_crt_profile
*
profile
)
;
ssl.h:2008
mbedtls_ssl_conf_cert_profile()
mbedtls_ssl_conf_cert_profile()::profile
const
mbedtls_x509_crt_profile
*
profile
)
ssl_tls.c:7230
mbedtls_ssl_conf_cert_profile()
mbedtls_ssl_conf_cert_profile()::profile
const
mbedtls_x509_crt_profile
mbedtls_x509_crt_profile_default
=
x509_crt.c:97
const
mbedtls_x509_crt_profile
mbedtls_x509_crt_profile_next
=
x509_crt.c:116
const
mbedtls_x509_crt_profile
mbedtls_x509_crt_profile_suiteb
=
x509_crt.c:141
static
int
x509_profile_check_md_alg
(
const
mbedtls_x509_crt_profile
*
profile
,
x509_crt.c:163
x509_profile_check_md_alg()
x509_profile_check_md_alg()::profile
static
int
x509_profile_check_pk_alg
(
const
mbedtls_x509_crt_profile
*
profile
,
x509_crt.c:179
x509_profile_check_pk_alg()
x509_profile_check_pk_alg()::profile
static
int
x509_profile_check_key
(
const
mbedtls_x509_crt_profile
*
profile
,
x509_crt.c:195
x509_profile_check_key()
x509_profile_check_key()::profile
const
mbedtls_x509_crt_profile
*
profile
,
x509_crt.c:2264
x509_crt_verify_chain()
x509_crt_verify_chain()::profile
const
mbedtls_x509_crt_profile
*
profile
,
x509_crt.c:2515
mbedtls_x509_crt_verify_with_profile()
mbedtls_x509_crt_verify_with_profile()::profile
const
mbedtls_x509_crt_profile
*
profile
,
x509_crt.c:2537
mbedtls_x509_crt_verify_restartable()
mbedtls_x509_crt_verify_restartable()::profile
mbedtls_x509_crt_profile
;
x509_crt.h:115
mbedtls_x509_crt_profile
extern
const
mbedtls_x509_crt_profile
mbedtls_x509_crt_profile_default
;
x509_crt.h:208
extern
const
mbedtls_x509_crt_profile
mbedtls_x509_crt_profile_next
;
x509_crt.h:214
extern
const
mbedtls_x509_crt_profile
mbedtls_x509_crt_profile_suiteb
;
x509_crt.h:219
const
mbedtls_x509_crt_profile
*
profile
,
x509_crt.h:423
mbedtls_x509_crt_verify_with_profile()
mbedtls_x509_crt_verify_with_profile()::profile
const
mbedtls_x509_crt_profile
*
profile
,
x509_crt.h:453
mbedtls_x509_crt_verify_restartable()
mbedtls_x509_crt_verify_restartable()::profile
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Instance
Scope
Location
Project
mbedtls_x509_crt_profile_default
x509_crt.h:208
mbedtls_x509_crt_profile_next
x509_crt.h:214
mbedtls_x509_crt_profile_suiteb
x509_crt.h:219
mbedtls_x509_crt_verify_with_profile()::profile
mbedtls_x509_crt_verify_with_profile()
x509_crt.h:423
mbedtls_x509_crt_verify_restartable()::profile
mbedtls_x509_crt_verify_restartable()
x509_crt.h:453
mbedtls_ssl_config::cert_profile
mbedtls_ssl_config
ssl.h:896
mbedtls_ssl_conf_cert_profile()::profile
mbedtls_ssl_conf_cert_profile()
ssl.h:2008
mbedtls_ssl_conf_cert_profile()::profile
mbedtls_ssl_conf_cert_profile()
ssl_tls.c:7230
mbedtls_x509_crt_profile_default
x509_crt.c:97
mbedtls_x509_crt_profile_next
x509_crt.c:116
mbedtls_x509_crt_profile_suiteb
x509_crt.c:141
x509_profile_check_md_alg()::profile
x509_profile_check_md_alg()
x509_crt.c:163
x509_profile_check_pk_alg()::profile
x509_profile_check_pk_alg()
x509_crt.c:179
x509_profile_check_key()::profile
x509_profile_check_key()
x509_crt.c:195
x509_crt_verify_chain()::profile
x509_crt_verify_chain()
x509_crt.c:2264
mbedtls_x509_crt_verify_with_profile()::profile
mbedtls_x509_crt_verify_with_profile()
x509_crt.c:2515
mbedtls_x509_crt_verify_restartable()::profile
mbedtls_x509_crt_verify_restartable()
x509_crt.c:2537
Lifecycle
from
examples
All items filtered out
All items filtered out