Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TLS_cyassl by
Diff: TLSServer.h
- Revision:
- 4:86a5029194b4
- Child:
- 6:c12f49c210c2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TLSServer.h Wed Sep 18 09:00:57 2013 +0000 @@ -0,0 +1,25 @@ +#ifndef TLSSERVER_H +#define TLSSERVER_H + +#include "mbed.h" +#include "cyassl/ssl.h" +#include "TLSConnection.h" + +class TLSServer : public Socket +{ + public : + + TLSServer(); + ~TLSServer(); + + bool init(); + + bool accept(TLSConnection &con); + + + private : + + CYASSL_CTX *_ssl_ctx; +}; + +#endif