|
oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
|
TLS session configuration. More...
#include <net_tls.h>
Data Fields | |
| const unsigned char * | ca_cert |
| size_t | ca_cert_len |
| const char * | hostname |
| const unsigned char * | client_cert |
| size_t | client_cert_len |
| const unsigned char * | client_key |
| size_t | client_key_len |
TLS session configuration.
| const unsigned char* ove_tls_config_t::ca_cert |
PEM or DER CA certificate (NULL to skip verify).
| size_t ove_tls_config_t::ca_cert_len |
Length of ca_cert in bytes (incl. NUL for PEM).
| const char* ove_tls_config_t::hostname |
Expected server hostname for SNI/verify (may be NULL).
| const unsigned char* ove_tls_config_t::client_cert |
PEM or DER client certificate for mTLS (NULL to skip).
| size_t ove_tls_config_t::client_cert_len |
Length of client_cert in bytes.
| const unsigned char* ove_tls_config_t::client_key |
PEM or DER client private key (NULL to skip).
| size_t ove_tls_config_t::client_key_len |
Length of client_key in bytes.