Method SSL.Context()->get_psk()


Method get_psk

optional string(8bit) get_psk(string(8bit) id)

Description

A context created for PSK use must implement a get_psk method, which will be called with the key id, and should return the key to be used for the connection. If the id is not valid, 0 should be returned.