Embedded TCP/IP stack
4.1.0
|
fnet_tls.h
202 fnet_ssize_t fnet_tls_socket_recv(fnet_tls_socket_t tls_sock, fnet_uint8_t *buf, fnet_size_t len);
229 fnet_ssize_t fnet_tls_socket_send(fnet_tls_socket_t tls_sock, fnet_uint8_t *buf, fnet_size_t len);
const fnet_uint8_t * certificate_buffer
Buffer holding the Client or Server Certificate data, in PEM or DER format.
Definition: fnet_tls.h:82
fnet_tls_desc_t fnet_tls_init(struct fnet_tls_params *params)
Initializes the TLS context.
unsigned long fnet_size_t
Unsigned integer type representing the size in bytes.
Definition: fnet_stdlib.h:56
const fnet_uint8_t * private_key_buffer
Buffer holding the private key, in PEM or DER format.
Definition: fnet_tls.h:84
fnet_ssize_t fnet_tls_socket_recv(fnet_tls_socket_t tls_sock, fnet_uint8_t *buf, fnet_size_t len)
Receives data from a TLS socket.
fnet_ssize_t fnet_tls_socket_send(fnet_tls_socket_t tls_sock, fnet_uint8_t *buf, fnet_size_t len)
Sends data on a TLS socket.
fnet_size_t private_key_buffer_size
Size of the private key buffer (including the terminating null byte for PEM data).
Definition: fnet_tls.h:85
fnet_size_t certificate_buffer_size
Size of the certificate buffer (including the terminating null byte for PEM data).
Definition: fnet_tls.h:83
fnet_tls_socket_t fnet_tls_socket(fnet_tls_desc_t tls_desc, fnet_socket_t sock)
Creates the TLS socket.
© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net