Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mqtt_sec_config Struct Reference

TLS configuration for secure MQTT transports. More...

#include <mqtt.h>

Data Fields

int peer_verify
 Indicates the preference for peer verification.
 
uint32_t cipher_count
 Indicates the number of entries in the cipher list.
 
const int * cipher_list
 Indicates the list of ciphers to be used for the session.
 
uint32_t sec_tag_count
 Indicates the number of entries in the sec tag list.
 
const sec_tag_tsec_tag_list
 Indicates the list of security tags to be used for the session.
 
const char * hostname
 Peer hostname for ceritificate verification.
 
int cert_nocopy
 Indicates the preference for copying certificates to the heap.
 

Detailed Description

TLS configuration for secure MQTT transports.

Field Documentation

◆ cert_nocopy

int mqtt_sec_config::cert_nocopy

Indicates the preference for copying certificates to the heap.

◆ cipher_count

uint32_t mqtt_sec_config::cipher_count

Indicates the number of entries in the cipher list.

◆ cipher_list

const int* mqtt_sec_config::cipher_list

Indicates the list of ciphers to be used for the session.

May be NULL to use the default ciphers.

◆ hostname

const char* mqtt_sec_config::hostname

Peer hostname for ceritificate verification.

May be NULL to skip hostname verification.

◆ peer_verify

int mqtt_sec_config::peer_verify

Indicates the preference for peer verification.

◆ sec_tag_count

uint32_t mqtt_sec_config::sec_tag_count

Indicates the number of entries in the sec tag list.

◆ sec_tag_list

const sec_tag_t* mqtt_sec_config::sec_tag_list

Indicates the list of security tags to be used for the session.


The documentation for this struct was generated from the following file: