int mbedtls_ssl_cache_set(void *data, const mbedtls_ssl_session *session)
Cache set callback implementation (Thread-safe if MBEDTLS_THREADING_C is enabled)
int mbedtls_ssl_cache_get(void *data, mbedtls_ssl_session *session)
Cache get callback implementation (Thread-safe if MBEDTLS_THREADING_C is enabled)
mbedtls_ssl_cache_entry * chain
This structure is used for storing cache entries.
mbedtls_ssl_cache_entry * next
mbedtls_x509_buf peer_cert
mbedtls_ssl_session session