Struct anj_net_security_info_t

Struct Documentation

struct anj_net_security_info_t

Security configuration for a DTLS/TLS socket.

Public Members

anj_net_security_mode_t mode

Selected security mode.

anj_net_psk_info_t psk
anj_net_certificate_info_t cert
union anj_net_security_info_t data

Parameters specific to the selected mode.