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

MBEDTLS_X509_BADCERT_BAD_KEY macro

The certificate is signed with an unacceptable key (eg bad curve, RSA too short).

Syntax

#define MBEDTLS_X509_BADCERT_BAD_KEY 0x010000

References

LocationText
x509.h:104
#define MBEDTLS_X509_BADCERT_BAD_KEY 0x010000 /**< The certificate is signed with an unacceptable key (eg bad curve, RSA too short). */
ssl_tls.c:5778
ssl->session_negotiate->verify_result |= MBEDTLS_X509_BADCERT_BAD_KEY;
ssl_tls.c:5835
else if( ssl->session_negotiate->verify_result & MBEDTLS_X509_BADCERT_BAD_KEY )
x509_crt.c:1683
{ MBEDTLS_X509_BADCERT_BAD_KEY, "The certificate is signed with an unacceptable key (eg bad curve, RSA too short)." },
x509_crt.c:2388
*flags |= MBEDTLS_X509_BADCERT_BAD_KEY;
x509_crt.c:2569
ee_flags |= MBEDTLS_X509_BADCERT_BAD_KEY;