mbedtls_x509_crt_verify_with_profile() is only used within mbedTLS.
 
Symbols
loading (4/5)...
Files
loading (4/5)...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

\c 0 if the chain is valid with respect to the passed CN, CAs, CRLs and security profile. #MBEDTLS_ERR_X509_CERT_VERIFY_FAILED in case the certificate chain verification failed. In this case, \c *flags will have one or more \c MBEDTLS_X509_BADCERT_XXX or \c MBEDTLS_X509_BADCRL_XXX flags set. Another negative error code in case of a fatal error encountered during the verification process.

Notes

Same as \c mbedtls_x509_crt_verify(), but with explicit security profile. The restrictions on keys (RSA minimum size, allowed curves for ECDSA) apply to all certificates: trusted root, intermediate CAs if any, and end entity certificate.

References