Botan
2.1.0
Crypto and TLS for C++11
|
#include <tls_extensions.h>
Public Member Functions | |
const std::vector< std::string > & | curves () const |
bool | empty () const override |
std::vector< uint8_t > | serialize () const override |
Supported_Elliptic_Curves (const std::vector< std::string > &curves) | |
Supported_Elliptic_Curves (TLS_Data_Reader &reader, uint16_t extension_size) | |
Handshake_Extension_Type | type () const override |
Static Public Member Functions | |
static std::string | curve_id_to_name (uint16_t id) |
static uint16_t | name_to_curve_id (const std::string &name) |
static Handshake_Extension_Type | static_type () |
Supported Elliptic Curves Extension (RFC 4492)
Definition at line 232 of file tls_extensions.h.
|
inlineexplicit |
Definition at line 247 of file tls_extensions.h.
Botan::TLS::Supported_Elliptic_Curves::Supported_Elliptic_Curves | ( | TLS_Data_Reader & | reader, |
uint16_t | extension_size | ||
) |
Definition at line 362 of file tls_extensions.cpp.
References curve_id_to_name(), and Botan::TLS::TLS_Data_Reader::get_uint16_t().
|
static |
Definition at line 280 of file tls_extensions.cpp.
Referenced by Botan::TLS::Client_Key_Exchange::Client_Key_Exchange(), and Supported_Elliptic_Curves().
|
inline |
Definition at line 243 of file tls_extensions.h.
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 253 of file tls_extensions.h.
|
static |
Definition at line 312 of file tls_extensions.cpp.
Referenced by serialize(), and Botan::TLS::Server_Key_Exchange::Server_Key_Exchange().
|
overridevirtual |
Implements Botan::TLS::Extension.
Definition at line 341 of file tls_extensions.cpp.
References Botan::get_byte(), and name_to_curve_id().
|
inlinestatic |
Definition at line 235 of file tls_extensions.h.
References Botan::TLS::TLSEXT_USABLE_ELLIPTIC_CURVES.
Referenced by type().
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 238 of file tls_extensions.h.
References static_type().