Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_extensions.h>
Public Types | |
enum | ECPointFormat : uint8_t { UNCOMPRESSED = 0 , ANSIX962_COMPRESSED_PRIME = 1 , ANSIX962_COMPRESSED_CHAR2 = 2 } |
Public Member Functions | |
bool | empty () const override |
virtual bool | is_implemented () const |
bool | prefers_compressed () const |
std::vector< uint8_t > | serialize (Connection_Side whoami) const override |
Supported_Point_Formats (bool prefer_compressed) | |
Supported_Point_Formats (TLS_Data_Reader &reader, uint16_t extension_size) | |
Extension_Code | type () const override |
Static Public Member Functions | |
static Extension_Code | static_type () |
Supported Point Formats Extension (RFC 4492)
Definition at line 350 of file tls_extensions.h.
enum Botan::TLS::Supported_Point_Formats::ECPointFormat : uint8_t |
Enumerator | |
---|---|
UNCOMPRESSED | |
ANSIX962_COMPRESSED_PRIME | |
ANSIX962_COMPRESSED_CHAR2 |
Definition at line 352 of file tls_extensions.h.
|
inlineexplicit |
Definition at line 364 of file tls_extensions.h.
Botan::TLS::Supported_Point_Formats::Supported_Point_Formats | ( | TLS_Data_Reader & | reader, |
uint16_t | extension_size ) |
Definition at line 561 of file tls_extensions.cpp.
References ANSIX962_COMPRESSED_PRIME, Botan::TLS::TLS_Data_Reader::discard_next(), Botan::TLS::TLS_Data_Reader::get_byte(), Botan::TLS::TLS_Data_Reader::get_fixed(), and UNCOMPRESSED.
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 368 of file tls_extensions.h.
|
inlinevirtualinherited |
Reimplemented in Botan::TLS::Unknown_Extension.
Definition at line 116 of file tls_extensions.h.
|
inline |
Definition at line 370 of file tls_extensions.h.
|
overridevirtual |
Implements Botan::TLS::Extension.
Definition at line 552 of file tls_extensions.cpp.
References ANSIX962_COMPRESSED_PRIME, and UNCOMPRESSED.
|
inlinestatic |
Definition at line 358 of file tls_extensions.h.
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 360 of file tls_extensions.h.