aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_messages.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-27 15:38:53 +0000
committerlloyd <[email protected]>2012-01-27 15:38:53 +0000
commit2d31f3fc1b1c88739e5babbd6a9e8cb3b80263de (patch)
tree59eeaeae4d678f3d251fb3bdf6b9d25aa79140b0 /src/tls/tls_messages.h
parent3d3c7f45e64c2dab1b9558fc9da80cdd30175063 (diff)
Add client-side support for PSK kex. Tested against OpenSSL.
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r--src/tls/tls_messages.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h
index 7d4905a0e..41ab6ece4 100644
--- a/src/tls/tls_messages.h
+++ b/src/tls/tls_messages.h
@@ -20,6 +20,8 @@
namespace Botan {
+class Credentials_Manager;
+
namespace TLS {
class Record_Writer;
@@ -216,6 +218,7 @@ class Client_Key_Exchange : public Handshake_Message
Client_Key_Exchange(Record_Writer& output,
Handshake_State* state,
+ Credentials_Manager& creds,
const std::vector<X509_Certificate>& peer_certs,
RandomNumberGenerator& rng);
@@ -368,6 +371,7 @@ class Server_Key_Exchange : public Handshake_Message
bool verify(const X509_Certificate& cert,
Handshake_State* state) const;
+ // Only valid for certain kex types
const Private_Key& server_kex_key() const;
Server_Key_Exchange(Record_Writer& writer,