oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
Loading...
Searching...
No Matches
Public Attributes | List of all members
ove::tls::Config Struct Reference

TLS session configuration. More...

#include <net_tls.hpp>

Public Attributes

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 {}
 

Detailed Description

TLS session configuration.

Member Data Documentation

◆ ca_cert

const unsigned char* ove::tls::Config::ca_cert {}

PEM/DER CA certificate (nullptr to skip).

◆ ca_cert_len

size_t ove::tls::Config::ca_cert_len {}

Certificate length (incl NUL for PEM).

◆ hostname

const char* ove::tls::Config::hostname {}

SNI hostname (may be nullptr).

◆ client_cert

const unsigned char* ove::tls::Config::client_cert {}

PEM/DER client cert for mTLS (nullptr to skip).

◆ client_cert_len

size_t ove::tls::Config::client_cert_len {}

Client certificate length.

◆ client_key

const unsigned char* ove::tls::Config::client_key {}

PEM/DER client private key (nullptr to skip).

◆ client_key_len

size_t ove::tls::Config::client_key_len {}

Client key length.


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