mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-22 15:25:14 +03:00
openssl, session: Add TLS encryption.
This commit is contained in:
1 parent
9bb8396b23
commit
854cc3147f
5 files changed
+369
-75
No files matched your search
@@ -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.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user