aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_client.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-12-29 17:18:56 +0000
committerlloyd <[email protected]>2011-12-29 17:18:56 +0000
commitb500ef1a58f977f5ce5869e7160615f7b44876e7 (patch)
tree025f3a6ee8b7da533178c2f7b3a351cb94750211 /src/tls/tls_client.h
parentcaa9dfa12cf69bb4ab88c399e61e856fedb24900 (diff)
Add support for sending server name indicator in client hello
Add support for sending and reading the SRP identifier extension. Add some helper classes for managing TLS extensions Add ciphersuite codes for SRP key exchange.
Diffstat (limited to 'src/tls/tls_client.h')
-rw-r--r--src/tls/tls_client.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tls/tls_client.h b/src/tls/tls_client.h
index 295eb0364..e80051460 100644
--- a/src/tls/tls_client.h
+++ b/src/tls/tls_client.h
@@ -27,7 +27,9 @@ class BOTAN_DLL TLS_Client : public TLS_Channel
std::tr1::function<void (const byte[], size_t, u16bit)> proc_fn,
TLS_Session_Manager& session_manager,
const TLS_Policy& policy,
- RandomNumberGenerator& rng);
+ RandomNumberGenerator& rng,
+ const std::string& servername = "",
+ const std::string& srp_username = "");
void add_client_cert(const X509_Certificate& cert,
Private_Key* cert_key);