libcoap 4.3.5rc1
|
The structure used for defining the Server PSK setup data to be used. More...
#include <coap_dtls.h>
Data Fields | |
uint8_t | version |
uint8_t | reserved [7] |
Set to COAP_DTLS_SPSK_SETUP_VERSION to support this version of the struct. | |
coap_dtls_id_callback_t | validate_id_call_back |
Identity check callback function. | |
void * | id_call_back_arg |
Passed in to the Identity callback function. | |
coap_dtls_psk_sni_callback_t | validate_sni_call_back |
SNI check callback function. | |
void * | sni_call_back_arg |
Passed in to the SNI callback function. | |
coap_dtls_spsk_info_t | psk_info |
Server PSK definition. | |
The structure used for defining the Server PSK setup data to be used.
Definition at line 535 of file coap_dtls.h.
void* coap_dtls_spsk_t::id_call_back_arg |
Passed in to the Identity callback function.
Definition at line 555 of file coap_dtls.h.
coap_dtls_spsk_info_t coap_dtls_spsk_t::psk_info |
Server PSK definition.
Definition at line 565 of file coap_dtls.h.
uint8_t coap_dtls_spsk_t::reserved[7] |
Set to COAP_DTLS_SPSK_SETUP_VERSION to support this version of the struct.
Reserved - must be set to 0 for future compatibility
Definition at line 540 of file coap_dtls.h.
void* coap_dtls_spsk_t::sni_call_back_arg |
Passed in to the SNI callback function.
Definition at line 563 of file coap_dtls.h.
coap_dtls_id_callback_t coap_dtls_spsk_t::validate_id_call_back |
Identity check callback function.
If not NULL
, is called when the Identity is provided by the client. The appropriate Pre-Shared Key to use can then be returned.
Definition at line 554 of file coap_dtls.h.
coap_dtls_psk_sni_callback_t coap_dtls_spsk_t::validate_sni_call_back |
SNI check callback function.
If not NULL
, called if the SNI is not previously seen and prior to sending PSK information back to the client so that the appropriate PSK information can be used based on the requesting SNI.
Definition at line 562 of file coap_dtls.h.
uint8_t coap_dtls_spsk_t::version |
Definition at line 536 of file coap_dtls.h.