diff options
author | Jack Lloyd <[email protected]> | 2018-01-21 14:00:12 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-01-27 09:43:14 -0500 |
commit | dd960f0a5e34ec4b0319c8069fb1ccb58ef8c901 (patch) | |
tree | 4141982ddd71262d5e66e791a5ddf238db69df30 /src/lib/tls/tls_messages.h | |
parent | 936da0514b06b341e6fab372477e32c90df05d57 (diff) |
Add an examine callback also
Diffstat (limited to 'src/lib/tls/tls_messages.h')
-rw-r--r-- | src/lib/tls/tls_messages.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/tls/tls_messages.h b/src/lib/tls/tls_messages.h index 471467fc2..75e65fa7f 100644 --- a/src/lib/tls/tls_messages.h +++ b/src/lib/tls/tls_messages.h @@ -146,6 +146,8 @@ class BOTAN_UNSTABLE_API Client_Hello final : public Handshake_Message std::set<Handshake_Extension_Type> extension_types() const { return m_extensions.extension_types(); } + const Extensions& extensions() const { return m_extensions; } + Client_Hello(Handshake_IO& io, Handshake_Hash& hash, const Policy& policy, @@ -277,6 +279,8 @@ class BOTAN_UNSTABLE_API Server_Hello final : public Handshake_Message std::set<Handshake_Extension_Type> extension_types() const { return m_extensions.extension_types(); } + const Extensions& extensions() const { return m_extensions; } + bool prefers_compressed_ec_points() const { if(auto ecc_formats = m_extensions.get<Supported_Point_Formats>()) |