zephyr/subsys/net/lib/sockets
Robert Lubos d09cbcaf6f net: tls: Add credential management subsystem
Add TLS credential management subsystem that enables to register TLS
credentials in the system. Once specific credentials are registered in
the system, they will be available for TLS secure sockets to use.

To use a TLS credential with a socket, the following steps have to be
taken:
1. TLS credential has to be registered in a system-wide pool, using the
API provided in "net/tls_credentials.h" header file.
2. TLS credential (and other TLS parameters) should be set on a socket
using setsockopt().

Note, that there is no need to repeat step 1 for different sockets using
the same credentials. Once TLS credential is registered in the system,
it can be used with mulitple sockets, as long as it's not deleted.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2018-07-26 12:13:15 -04:00
..
CMakeLists.txt net: socket: Add switch to enable TLS socket option support 2018-07-13 15:03:45 -04:00
getaddrinfo.c net: getaddrinfo: Make availability depend on CONFIG_DNS_RESOLVER 2018-07-23 10:04:39 -07:00
Kconfig net: tls: Add credential management subsystem 2018-07-26 12:13:15 -04:00
sockets.c net: sockets: Make poll() call threadsafe by avoiding global array 2018-07-17 13:02:16 +03:00
sockets_tls.c net: tls: Implement poll with support for mbedTLS pending data 2018-07-13 15:03:45 -04:00