|
Botan 3.11.0
Crypto and TLS for C&
|
#include <tls_extensions_12.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 91 of file tls_extensions_12.h.
| enum Botan::TLS::Supported_Point_Formats::ECPointFormat : uint8_t |
| Enumerator | |
|---|---|
| UNCOMPRESSED | |
| ANSIX962_COMPRESSED_PRIME | |
| ANSIX962_COMPRESSED_CHAR2 | |
Definition at line 93 of file tls_extensions_12.h.
|
inlineexplicit |
Definition at line 105 of file tls_extensions_12.h.
| Botan::TLS::Supported_Point_Formats::Supported_Point_Formats | ( | TLS_Data_Reader & | reader, |
| uint16_t | extension_size ) |
Definition at line 45 of file tls_extensions_12.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 109 of file tls_extensions_12.h.
|
inlinevirtualinherited |
Reimplemented in Botan::TLS::Unknown_Extension.
Definition at line 95 of file tls_extensions.h.
|
inline |
Definition at line 111 of file tls_extensions_12.h.
|
overridevirtual |
Implements Botan::TLS::Extension.
Definition at line 36 of file tls_extensions_12.cpp.
References ANSIX962_COMPRESSED_PRIME, and UNCOMPRESSED.
|
inlinestatic |
Definition at line 99 of file tls_extensions_12.h.
References Botan::TLS::EcPointFormats.
Referenced by type().
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 101 of file tls_extensions_12.h.
References static_type().