Example or starting point Botan SSL / TLS

I am experimenting with the Botan library to establish an SSL / TLS connection with a private certificate. Unfortunately, I cannot find any actual code example using the new TLS :: Client class. The documentation contains only a little text for doxygen doc. Is there any project where I can see how to establish a connection? I am an agnostic who uses a compiler or OS, since my project must be platform independent.

+6
source share
1 answer

The best open source examples for using api at this point are probably using the botan command line tool in src/cmd/tls_client.cpp , as well as src/cmd/tls_proxy.cpp , which is server-side, but further demonstrates how to bind to asio.

+2
source

Source: https://habr.com/ru/post/986172/


All Articles