Static Public Member Functions
wolfSSL_Example_IOCallbacks Class Reference

Static Public Member Functions

static uint my_psk_server_cb (IntPtr ssl, string identity, IntPtr key, uint max_key)
 Example of a PSK function call back More...
 

Member Function Documentation

◆ my_psk_server_cb()

static uint wolfSSL_Example_IOCallbacks.my_psk_server_cb ( IntPtr  ssl,
string  identity,
IntPtr  key,
uint  max_key 
)
inlinestatic

Example of a PSK function call back

Parameters
sslpointer to ssl structure
identityidentity of client connecting
keybuffer to hold key
max_keymax key size
Returns
size of key set