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.
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.
botan
src/cmd/tls_client.cpp
src/cmd/tls_proxy.cpp
Source: https://habr.com/ru/post/986172/More articles:How to reliably verify an object is EcmaScript 6 Map / Set? - javascriptRefresh Parse.com User from Stripe Webhook - javascriptiOS: springWithDamping as animation for KeyFrame animation - iosExit subshell by mistake - bashThe array does not change when the method is inline - c ++How to register in the decorator all the functions that it decorates? - pythonHow to join data frames based on a condition between two columns - mergeHTML is invalid - javascriptHow to pass Python instance to C ++ using Python / C API - c ++the integer data frame to date in R - rAll Articles