0.1.0
# mbedtls_cxx This is a simplified C++ wrapper of mbedTLS for performing TLS and DTLS handshake a communication. This component allows for overriding low level IO functions (`send()` and `recv()`) and thus supporting TLS over various physical channels.
# Changelog ## [0.1.0](https://github.com/espressif/esp-protocols/commits/tls_cxx-v0.1.0) ### Features - Publish mbedtls component ([0140455f](https://github.com/espressif/esp-protocols/commit/0140455f))
# TCP client example This is a simple example uses `mbedtls_cxx` to connect to a remote echo server. The example needs a connection to internet (or a network where the TLS echo-server is available), it could be run on linux target as well as on ESP32.
# UDP Mutual authentication example This example uses `mbedtls_cxx` to perform a DTLS handshake and exchange a message between server and client. The example uses UDP sockets on `'localhost'` interface, so no actual connection is needed, it could be run on linux target as well as on ESP32.
bd6e12050928464b4357015c7c8c1b215432d580
idf.py add-dependency "espressif/mbedtls_cxx^0.1.0"
To create a project from this example, run:
idf.py create-project-from-example "espressif/mbedtls_cxx^0.1.0:tls_client"
To create a project from this example, run:
idf.py create-project-from-example "espressif/mbedtls_cxx^0.1.0:udp_mutual_auth"