Botan
2.1.0
Crypto and TLS for C++11
|
#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 () 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 261 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 264 of file tls_extensions.h.
|
inlineexplicit |
Definition at line 277 of file tls_extensions.h.
Botan::TLS::Supported_Point_Formats::Supported_Point_Formats | ( | TLS_Data_Reader & | reader, |
uint16_t | extension_size | ||
) |
Definition at line 398 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 283 of file tls_extensions.h.
|
inline |
Definition at line 285 of file tls_extensions.h.
|
overridevirtual |
Implements Botan::TLS::Extension.
Definition at line 385 of file tls_extensions.cpp.
References ANSIX962_COMPRESSED_PRIME, and UNCOMPRESSED.
|
inlinestatic |
Definition at line 270 of file tls_extensions.h.
References Botan::TLS::TLSEXT_EC_POINT_FORMATS.
Referenced by type().
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 273 of file tls_extensions.h.
References static_type().