#include <ssl.h>
Public Attributes | |
const int * | ciphersuite_list [4] |
void(* | f_dbg )(void *, int, const char *, int, const char *) |
void * | p_dbg |
int(* | f_rng )(void *, unsigned char *, size_t) |
void * | p_rng |
int(* | f_get_cache )(void *, mbedtls_ssl_session *) |
int(* | f_set_cache )(void *, const mbedtls_ssl_session *) |
void * | p_cache |
uint32_t | read_timeout |
unsigned char | max_major_ver |
unsigned char | max_minor_ver |
unsigned char | min_major_ver |
unsigned char | min_minor_ver |
unsigned int | endpoint: 1 |
unsigned int | transport: 1 |
unsigned int | authmode: 2 |
unsigned int | allow_legacy_renegotiation: 2 |
SSL/TLS configuration to be shared between mbedtls_ssl_context structures.
unsigned int mbedtls_ssl_config::allow_legacy_renegotiation |
MBEDTLS_LEGACY_XXX
unsigned int mbedtls_ssl_config::authmode |
MBEDTLS_SSL_VERIFY_XXX
const int* mbedtls_ssl_config::ciphersuite_list[4] |
allowed ciphersuites per version
unsigned int mbedtls_ssl_config::endpoint |
0: client, 1: server
void(* mbedtls_ssl_config::f_dbg) (void *, int, const char *, int, const char *) |
Callback for printing debug output
int(* mbedtls_ssl_config::f_get_cache) (void *, mbedtls_ssl_session *) |
Callback to retrieve a session from the cache
int(* mbedtls_ssl_config::f_rng) (void *, unsigned char *, size_t) |
Callback for getting (pseudo-)random numbers
int(* mbedtls_ssl_config::f_set_cache) (void *, const mbedtls_ssl_session *) |
Callback to store a session into the cache
unsigned char mbedtls_ssl_config::max_major_ver |
max. major version used
unsigned char mbedtls_ssl_config::max_minor_ver |
max. minor version used
unsigned char mbedtls_ssl_config::min_major_ver |
min. major version used
unsigned char mbedtls_ssl_config::min_minor_ver |
min. minor version used
void* mbedtls_ssl_config::p_cache |
context for cache callbacks
void* mbedtls_ssl_config::p_dbg |
context for the debug function
void* mbedtls_ssl_config::p_rng |
context for the RNG function
uint32_t mbedtls_ssl_config::read_timeout |
timeout for mbedtls_ssl_read (ms)
unsigned int mbedtls_ssl_config::transport |
stream (TLS) or datagram (DTLS)