aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_client.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-12-29 18:20:13 +0000
committerlloyd <[email protected]>2011-12-29 18:20:13 +0000
commit97a274401167ea68b6284d6abb30351ee3243460 (patch)
tree4e6468351dc936fd97d3c61d196942c9faf661ae /src/tls/tls_client.h
parentb500ef1a58f977f5ce5869e7160615f7b44876e7 (diff)
About half an implementation of RFC 5746
Diffstat (limited to 'src/tls/tls_client.h')
-rw-r--r--src/tls/tls_client.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tls/tls_client.h b/src/tls/tls_client.h
index e80051460..a2ad232c8 100644
--- a/src/tls/tls_client.h
+++ b/src/tls/tls_client.h
@@ -22,6 +22,13 @@ class BOTAN_DLL TLS_Client : public TLS_Channel
public:
/**
* Set up a new TLS client session
+ * @param socket_output_fn is called with data for the outbound socket
+ * @param proc_fn is called when new data (application or alerts) is received
+ * @param session_manager manages session resumption
+ * @param policy specifies other connection policy information
+ * @param rng a random number generator
+ * @param servername the server's DNS name, if known
+ * @param srp_username an identifier to use for SRP key exchange
*/
TLS_Client(std::tr1::function<void (const byte[], size_t)> socket_output_fn,
std::tr1::function<void (const byte[], size_t, u16bit)> proc_fn,