Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
http_client_transport_tls_config Struct Reference

TLS configuration for the HTTP client. More...

#include <zephyr/net/http/client_multiprotocol.h>

Data Fields

uint32_t cipher_count
 The number of entries in the cipher list.
const int * cipher_list
 The list of ciphers to be used for the session.
uint32_t sec_tag_count
 The number of entries in the sec tag list.
const sec_tag_t * sec_tag_list
 The list of security tags to be used for the session.
const char * hostname
 Peer hostname, sent as the TLS server name and used for certificate verification.
int cert_nocopy
 Indicates the preference for copying certificates to the heap.
bool set_native_tls
 Set socket to use native TLS (used with socket offloading).

Detailed Description

TLS configuration for the HTTP client.

Field Documentation

◆ cert_nocopy

int http_client_transport_tls_config::cert_nocopy

Indicates the preference for copying certificates to the heap.

◆ cipher_count

uint32_t http_client_transport_tls_config::cipher_count

The number of entries in the cipher list.

◆ cipher_list

const int* http_client_transport_tls_config::cipher_list

The list of ciphers to be used for the session.

Leave as NULL to use the default ciphers.

◆ hostname

const char* http_client_transport_tls_config::hostname

Peer hostname, sent as the TLS server name and used for certificate verification.

NULL to use the session host when that is a domain name.

◆ sec_tag_count

uint32_t http_client_transport_tls_config::sec_tag_count

The number of entries in the sec tag list.

◆ sec_tag_list

const sec_tag_t* http_client_transport_tls_config::sec_tag_list

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

◆ set_native_tls

bool http_client_transport_tls_config::set_native_tls

Set socket to use native TLS (used with socket offloading).


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