43 #ifndef LWIP_HDR_ALTCP_TLS_H
44 #define LWIP_HDR_ALTCP_TLS_H
61 struct altcp_tls_config;
66 struct altcp_tls_config *altcp_tls_create_config_server_privkey_cert(
const u8_t *privkey,
size_t privkey_len,
67 const u8_t *privkey_pass,
size_t privkey_pass_len,
68 const u8_t *cert,
size_t cert_len);
73 struct altcp_tls_config *altcp_tls_create_config_client(
const u8_t *cert,
size_t cert_len);
78 struct altcp_tls_config *altcp_tls_create_config_client_2wayauth(
const u8_t *ca,
size_t ca_len,
const u8_t *privkey,
size_t privkey_len,
79 const u8_t *privkey_pass,
size_t privkey_pass_len,
80 const u8_t *cert,
size_t cert_len);
85 void altcp_tls_free_config(
struct altcp_tls_config *conf);
90 struct altcp_pcb *altcp_tls_wrap(
struct altcp_tls_config *config,
struct altcp_pcb *inner_pcb);
95 struct altcp_pcb *altcp_tls_new(
struct altcp_tls_config *config,
u8_t ip_type);
109 void *altcp_tls_context(
struct altcp_pcb *conn);
#define altcp_pcb
Definition: altcp.h:153
uint8_t u8_t
Definition: arch.h:125