libcoap
4.3.0
|
The structure used for defining the Client PSK setup data to be used. More...
#include <coap_dtls.h>
Data Fields | |
uint8_t | version |
uint8_t | reserved [7] |
Set to COAP_DTLS_CPSK_SETUP_VERSION to support this version of the struct. More... | |
coap_dtls_ih_callback_t | validate_ih_call_back |
Identity Hint check callback function. More... | |
void * | ih_call_back_arg |
Passed in to the Identity Hint callback function. More... | |
char * | client_sni |
If not NULL, SNI to use in client TLS setup. More... | |
coap_dtls_cpsk_info_t | psk_info |
Client PSK definition. More... | |
The structure used for defining the Client PSK setup data to be used.
Definition at line 338 of file coap_dtls.h.
char* coap_dtls_cpsk_t::client_sni |
If not NULL, SNI to use in client TLS setup.
Owned by the client app and must remain valid during the call to coap_new_client_session_psk2() Note: Not supported by TinyDTLS.
Definition at line 362 of file coap_dtls.h.
void* coap_dtls_cpsk_t::ih_call_back_arg |
Passed in to the Identity Hint callback function.
Definition at line 359 of file coap_dtls.h.
coap_dtls_cpsk_info_t coap_dtls_cpsk_t::psk_info |
Client PSK definition.
Definition at line 367 of file coap_dtls.h.
uint8_t coap_dtls_cpsk_t::reserved[7] |
Set to COAP_DTLS_CPSK_SETUP_VERSION to support this version of the struct.
Reserved - must be set to 0 for future compatibility
Definition at line 343 of file coap_dtls.h.
coap_dtls_ih_callback_t coap_dtls_cpsk_t::validate_ih_call_back |
Identity Hint check callback function.
If not NULL, is called when the Identity Hint (TLS1.2 or earlier) is provided by the server. The appropriate Identity and Pre-shared Key to use can then be returned.
Definition at line 358 of file coap_dtls.h.
uint8_t coap_dtls_cpsk_t::version |
Definition at line 339 of file coap_dtls.h.