wrapper of the mbed port of Cyassl. It's based of the work of Ashley Mills

Dependencies:   cyassl-lib

Dependents:   TLS_cyassl-Example TLS_cyassl-Example2 HTTPSClientExample2

Fork of TLS_cyassl by Francois Berder

Import programTLS_cyassl-Example

This program shows how to use TLS_cyassl to connect to mbed.org

Import programTLS_cyassl-Example2

This example show how to create a small TLS server using the TLS_cyassl library.

TLSServer.h

Committer:
feb11
Date:
2013-09-18
Revision:
4:86a5029194b4
Child:
6:c12f49c210c2

File content as of revision 4:86a5029194b4:

#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