openssl, session: Add TLS encryption.

This commit is contained in:
jcmichelou committed 2017-10-21 16:11:14 +02:00
1 parent 9bb8396b23
commit 854cc3147f
5 files changed
+369 -75

No files matched your search

+16
View File
@@ -155,6 +155,22 @@ int coap_dtls_hello(coap_session_t *session,
unsigned int coap_dtls_get_overhead(coap_session_t *session);
/**
* Create a new client-side session.
*
* @param session The CoAP session
* @return Opaque handle to underlying TLS library object containing security parameters for the session.
*/
void *coap_tls_new_client_session(coap_session_t *session);
/**
* Create a new server-side session.
*
* @param session The CoAP session
* @return Opaque handle to underlying TLS library object containing security parameters for the session.
*/
void *coap_tls_new_server_session(coap_session_t *session);
/**
* Send data to a TLS peer, with implicit flush.
*