Struct anj_net_psk_info_t

Struct Documentation

struct anj_net_psk_info_t

Configuration of PSK-based security credentials.

Public Members

anj_crypto_security_info_t key

Pre-shared secret key.

anj_crypto_security_info_t identity

PSK identity sent to the server.

const char *sni

Optional Server Name Indication value.

If NULL, the hostname may be used instead.