Botan 3.5.0
Crypto and TLS for C&
Botan::TLS::Extension Class Referenceabstract

#include <tls_extensions.h>

Inheritance diagram for Botan::TLS::Extension:
Botan::TLS::Application_Layer_Protocol_Notification Botan::TLS::Certificate_Authorities Botan::TLS::Certificate_Status_Request Botan::TLS::Certificate_Type_Base Botan::TLS::Cookie Botan::TLS::EarlyDataIndication Botan::TLS::Encrypt_then_MAC Botan::TLS::Extended_Master_Secret Botan::TLS::Key_Share Botan::TLS::PSK Botan::TLS::PSK_Key_Exchange_Modes Botan::TLS::Record_Size_Limit Botan::TLS::Renegotiation_Extension Botan::TLS::SRTP_Protection_Profiles Botan::TLS::Server_Name_Indicator Botan::TLS::Session_Ticket_Extension Botan::TLS::Signature_Algorithms Botan::TLS::Signature_Algorithms_Cert Botan::TLS::Supported_Groups Botan::TLS::Supported_Point_Formats Botan::TLS::Supported_Versions Botan::TLS::Unknown_Extension

Public Member Functions

virtual bool empty () const =0
 
virtual bool is_implemented () const
 
virtual std::vector< uint8_t > serialize (Connection_Side whoami) const =0
 
virtual Extension_Code type () const =0
 
virtual ~Extension ()=default
 

Detailed Description

Base class representing a TLS extension of some kind

Definition at line 96 of file tls_extensions.h.

Constructor & Destructor Documentation

◆ ~Extension()

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

Member Function Documentation

◆ empty()

◆ is_implemented()

virtual bool Botan::TLS::Extension::is_implemented ( ) const
inlinevirtual
Returns
true if this extension is known and implemented by Botan

Reimplemented in Botan::TLS::Unknown_Extension.

Definition at line 116 of file tls_extensions.h.

116{ return true; }

◆ serialize()

◆ type()


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