openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetPskIdentityHint()

int32_t HITLS_SetPskIdentityHint ( HITLS_Ctx ctx,
const uint8_t *  identityHint,
uint32_t  identityHintLen 
)

Set the PSK identity hint on the server, which is used to provide identity hints for the

client during PSK negotiation.

参数
ctx[OUT] TLS connection handle
identityHint[IN] psk identity prompt
identityHineLen[IN] psk Length of the identity message
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.