AddPsk

This method saves the PSK (pre-shared key) and the PSK identity string in the TLS configuration settings.
METHOD FINAL AddPsk : I_SocketTlsSettingsClass
VAR_IN_OUT
key : ARRAY[*] OF BYTE;
END_VAR
VAR_INPUT
sIdentity : STRING(TCPADS_TLS_PSK_IDENTITY_SIZE);
END_VAR
key: Data buffer with the PSK key (variable length array).
sIdentity: PSK Identity string.
Return parameter: Own interface pointer of type I_SocketTlsSettingsClass.