Botan 3.6.1
Crypto and TLS for C&
Botan::TLS::Secret_Logger Class Referenceabstract

#include <tls_channel_impl_13.h>

Inheritance diagram for Botan::TLS::Secret_Logger:
Botan::TLS::Channel_Impl_13 Botan::TLS::Client_Impl_13 Botan::TLS::Server_Impl_13

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~Secret_Logger()

virtual Botan::TLS::Secret_Logger::~Secret_Logger ( )
virtualdefault

Member Function Documentation

◆ maybe_log_secret()

virtual void Botan::TLS::Secret_Logger::maybe_log_secret ( std::string_view label,
std::span< const uint8_t > secret ) const
protectedpure virtual

Friends And Related Symbol Documentation

◆ Cipher_State

friend class Cipher_State
friend

Definition at line 34 of file tls_channel_impl_13.h.


The documentation for this class was generated from the following file: