21#ifndef DETERMINISTICESPASYNCWEBSERVER_TLS_POLICY_H
22#define DETERMINISTICESPASYNCWEBSERVER_TLS_POLICY_H
28#if DETWS_ENABLE_TLS_POLICY
31#define TLS_VERSION_1_2 0x0303
32#define TLS_VERSION_1_3 0x0304
40uint16_t detws_tls_negotiate_version(uint16_t client_max, uint16_t server_min, uint16_t server_max);
43const char *detws_tls_version_name(uint16_t version);
50uint16_t detws_tls_select_cipher(
const uint16_t *client_offered,
size_t n_client,
const uint16_t *server_pinned,
54bool detws_tls_is_aead(uint16_t suite);
User-facing configuration for DeterministicESPAsyncWebServer.