I've written a TLS parser library in C++ which now I need to write unit tests for. The library is simply fed the TLS data stream and it invokes various callbacks on certain events in TLS protocol. I'm searching for a Python implementation of TLS protocol for both client and server sides which allow me to create several deterministic and reproducible TLS data connections with parameters of my choosing (cipher suites, certificates, transmitting different TLS protocol messages, etc) and simultaneously dump the traffic in a raw binary file.
Is there a library or framework which allows me to create such test setup or any hint on what direction should I take for testing this library?
Aucun commentaire:
Enregistrer un commentaire