SSL/TLS configuration to be shared between mbedtls_ssl_context structures.
More...
#include <ssl.h>
SSL/TLS configuration to be shared between mbedtls_ssl_context structures.
Definition at line 963 of file ssl.h.
◆ ciphersuite_list
const int* ciphersuite_list[4] |
allowed ciphersuites per version
Definition at line 971 of file ssl.h.
◆ f_dbg
void(* f_dbg) (void *, int, const char *, int, const char *) |
Callback for printing debug output
Definition at line 974 of file ssl.h.
◆ p_dbg
context for the debug function
Definition at line 975 of file ssl.h.
◆ f_rng
int(* f_rng) (void *, unsigned char *, size_t) |
Callback for getting (pseudo-)random numbers
Definition at line 978 of file ssl.h.
◆ p_rng
context for the RNG function
Definition at line 979 of file ssl.h.
◆ f_get_cache
Callback to retrieve a session from the cache
Definition at line 982 of file ssl.h.
◆ f_set_cache
Callback to store a session into the cache
Definition at line 984 of file ssl.h.
◆ p_cache
context for cache callbacks
Definition at line 985 of file ssl.h.
◆ read_timeout
timeout for mbedtls_ssl_read (ms)
Definition at line 1124 of file ssl.h.
◆ max_major_ver
unsigned char max_major_ver |
max. major version used
Definition at line 1147 of file ssl.h.
◆ max_minor_ver
unsigned char max_minor_ver |
max. minor version used
Definition at line 1148 of file ssl.h.
◆ min_major_ver
unsigned char min_major_ver |
min. major version used
Definition at line 1149 of file ssl.h.
◆ min_minor_ver
unsigned char min_minor_ver |
min. minor version used
Definition at line 1150 of file ssl.h.
◆ endpoint
0: client, 1: server
Definition at line 1156 of file ssl.h.
◆ transport
stream (TLS) or datagram (DTLS)
Definition at line 1157 of file ssl.h.
◆ authmode
MBEDTLS_SSL_VERIFY_XXX
Definition at line 1158 of file ssl.h.
◆ allow_legacy_renegotiation
unsigned int allow_legacy_renegotiation |
MBEDTLS_LEGACY_XXX
Definition at line 1160 of file ssl.h.