verification_t is only used within ESP-IDF.
 
Symbols
loading (4/5)...
Files
loading (4/5)...
SummarySyntaxReferencesInstances

Fields

Field
Declared as
Description
bool
Use a global ca_store, look esp-tls documentation for details.
esp_err_t (*)(void *conf)
Pointer to ESP x509 Certificate Bundle attach function for the usage of certificate bundles. Client only attach the bundle, the clean up must be done by the user.
const char *
Certificate data, default is NULL. It's not copied nor freed by the client, user needs to clean up.
size_t
Length of the buffer pointed to by certificate.
const struct psk_key_hint *
Pointer to PSK struct defined in esp_tls.h to enable PSK authentication (as alternative to certificate verification). PSK is enabled only if there are no other ways to verify broker. It's not copied nor freed by the client, user needs to clean up.
bool
Skip any validation of server certificate CN field, this reduces the security of TLS and makes the *MQTT* client susceptible to MITM attacks.
const char **
NULL-terminated list of supported application protocols to be used for ALPN.
const char *
Pointer to the string containing server certificate common name. If non-NULL, server certificate CN must match this name, If NULL, server certificate CN must match hostname. This is ignored if skip_cert_common_name_check=true. It's not copied nor freed by the client, user needs to clean up.

References