Stores a bounded ordered ALPN protocol list and its negotiation policy. More...
#include <tlsstate.h>
Data Fields | |
| uint8_t | protocols [QSC_TLS_MAX_ALPN_PROTOCOLS][QSC_TLS_MAX_ALPN_SIZE] |
| size_t | protocollens [QSC_TLS_MAX_ALPN_PROTOCOLS] |
| size_t | protocolcount |
| bool | required |
| bool | configured |
Stores a bounded ordered ALPN protocol list and its negotiation policy.
| bool configured |
Indicates that ALPN policy has been configured.
| size_t protocolcount |
Number of valid protocol identifiers.
| size_t protocollens[QSC_TLS_MAX_ALPN_PROTOCOLS] |
Length, in bytes, of each ALPN protocol identifier.
| uint8_t protocols[QSC_TLS_MAX_ALPN_PROTOCOLS][QSC_TLS_MAX_ALPN_SIZE] |
Ordered ALPN protocol identifiers without terminating NULL bytes.
| bool required |
Require a mutually supported protocol when true.