Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_channel_impl_13.h>
Public Member Functions | |
virtual | ~Secret_Logger ()=default |
Protected Member Functions | |
virtual void | maybe_log_secret (std::string_view label, std::span< const uint8_t > secret) const =0 |
Friends | |
class | Cipher_State |
Encapsulates the callbacks in the state machine described in RFC 8446 7.1, that will make the realisation the SSLKEYLOGFILE for connection debugging specified in ietf.org/archive/id/draft-thomson-tls-keylogfile-00.html
The class is split from the rest of the Channel_Impl_13 for mockability.
Definition at line 30 of file tls_channel_impl_13.h.
|
virtualdefault |
|
protectedpure virtual |
Used exclusively in the Cipher_State to pass secret data to a user-provided Callbacks::tls_ssl_key_log_data() iff Policy::allow_ssl_key_log_file() returns true.
Referenced by Botan::TLS::Cipher_State::advance_with_client_hello(), Botan::TLS::Cipher_State::advance_with_server_finished(), Botan::TLS::Cipher_State::advance_with_server_hello(), Botan::TLS::Cipher_State::update_read_keys(), and Botan::TLS::Cipher_State::update_write_keys().
|
friend |
Definition at line 34 of file tls_channel_impl_13.h.