Embedded TCP/IP stack: fnet_tls_init

FNET

Embedded TCP/IP stack  4.1.0
fnet_tls_desc_t fnet_tls_init ( struct fnet_tls_params params)

Initializes the TLS context.

Parameters
paramsInitialization parameters defined by fnet_tls_params.
Returns
This function returns:
  • TLS Context descriptor if no error occurs.
  • FNET_NULL if an error occurs.
See also
fnet_tls_release(), fnet_tls_socket()

This function initializes the TLS context.
It allocates all resources and set parameters required for TLS connection. After a successful initialization, the application may create TLS sockets using fnet_tls_socket(). The context may be shared between several sockets.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net