SSL/TLS configuration to be shared between mbedtls_ssl_context structures.
Definition at line 469 of file ssl.h.
#include <ssl.h>
unsigned int mbedtls_ssl_config::allow_legacy_renegotiation |
MBEDTLS_LEGACY_XXX
Definition at line 608 of file ssl.h.
unsigned int mbedtls_ssl_config::authmode |
MBEDTLS_SSL_VERIFY_XXX
Definition at line 606 of file ssl.h.
const int* mbedtls_ssl_config::ciphersuite_list[4] |
allowed ciphersuites per version
Definition at line 477 of file ssl.h.
unsigned int mbedtls_ssl_config::endpoint |
0: client, 1: server
Definition at line 604 of file ssl.h.
void(* mbedtls_ssl_config::f_dbg) (void *, int, const char *, int, const char *) |
Callback for printing debug output.
Definition at line 480 of file ssl.h.
Callback to retrieve a session from the cache.
Definition at line 488 of file ssl.h.
int(* mbedtls_ssl_config::f_rng) (void *, unsigned char *, size_t) |
Callback for getting (pseudo-)random numbers.
Definition at line 484 of file ssl.h.
Callback to store a session into the cache.
Definition at line 490 of file ssl.h.
unsigned char mbedtls_ssl_config::max_major_ver |
max. major version used
Definition at line 595 of file ssl.h.
unsigned char mbedtls_ssl_config::max_minor_ver |
max. minor version used
Definition at line 596 of file ssl.h.
unsigned char mbedtls_ssl_config::min_major_ver |
min. major version used
Definition at line 597 of file ssl.h.
unsigned char mbedtls_ssl_config::min_minor_ver |
min. minor version used
Definition at line 598 of file ssl.h.
void* mbedtls_ssl_config::p_cache |
context for cache callbacks
Definition at line 491 of file ssl.h.
void* mbedtls_ssl_config::p_dbg |
context for the debug function
Definition at line 481 of file ssl.h.
void* mbedtls_ssl_config::p_rng |
context for the RNG function
Definition at line 485 of file ssl.h.
uint32_t mbedtls_ssl_config::read_timeout |
timeout for mbedtls_ssl_read (ms)
Definition at line 572 of file ssl.h.
unsigned int mbedtls_ssl_config::transport |
The documentation for this struct was generated from the following file: