Botan 2.19.3
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 |
bool | prefers_compressed () |
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) | |
Handshake_Extension_Type | type () const override |
Static Public Member Functions | |
static Handshake_Extension_Type | static_type () |
Supported Point Formats Extension (RFC 4492)
Definition at line 269 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 272 of file tls_extensions.h.
|
inlineexplicit |
Definition at line 285 of file tls_extensions.h.
Botan::TLS::Supported_Point_Formats::Supported_Point_Formats | ( | TLS_Data_Reader & | reader, |
uint16_t | extension_size | ||
) |
Definition at line 390 of file tls_extensions.cpp.
References ANSIX962_COMPRESSED_PRIME, Botan::TLS::TLS_Data_Reader::discard_next(), Botan::TLS::TLS_Data_Reader::get_byte(), and UNCOMPRESSED.
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 291 of file tls_extensions.h.
|
inline |
Definition at line 293 of file tls_extensions.h.
|
overridevirtual |
Implements Botan::TLS::Extension.
Definition at line 377 of file tls_extensions.cpp.
References ANSIX962_COMPRESSED_PRIME, and UNCOMPRESSED.
|
inlinestatic |
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 281 of file tls_extensions.h.