espressif/mbedtls_cxx

0.1.0

uploaded 2 weeks ago
C++ wrapper of mbedtls to perform (D)TLS connection

readme

# 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

# 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))

readme of tls_client example

                                        
                                        # 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.

                                    

readme of udp_mutual_auth example

                                        
                                        # 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.

                                    

Links

Supports all targets

License: Apache-2.0

To add this component to your project, run:

idf.py add-dependency "espressif/mbedtls_cxx^0.1.0"

or download archive

Dependencies

  • ESP-IDF >=5.0
  • Examples:

    tls_client

    more details

    To create a project from this example, run:

    idf.py create-project-from-example "espressif/mbedtls_cxx^0.1.0:tls_client"

    or download archive (83 bytes)

    udp_mutual_auth

    more details

    To create a project from this example, run:

    idf.py create-project-from-example "espressif/mbedtls_cxx^0.1.0:udp_mutual_auth"

    or download archive (83 bytes)

    Stats

    • Archive size
      Archive size: 15.89 KB
    • Downloaded in total
      Downloaded in total 5 times
    • Downloaded this version
      This version: 5 times

    Badge

    espressif/mbedtls_cxx version: 0.1.0
    |