TrustCore SDK NanoSSL API reference  version 7.0
Synchronous Client and Server Callbacks

Variables

sbyte4(* sslSettings::funcPtrClientRehandshakeRequest )(sbyte4 connectionInstance)
 Indicate time for SSL-rehandshake; applicable to clients and servers. More...
 
sbyte4(* sslSettings::funcPtrKeyUpdateRequest )(sbyte4 connectionInstance)
 Application defined function pointer called to update the keys. More...
 

Detailed Description

Variable Documentation

◆ funcPtrClientRehandshakeRequest

sbyte4(* sslSettings::funcPtrClientRehandshakeRequest) (sbyte4 connectionInstance)

This callback indicates that the timer or bytes sent count has exceeded the maximum set count, and therefore it is time for an SSL-rehandshake.

Remarks
This callback function is applicable to synchronous clients and servers (even though the name includes, "Client").
Since
5.8
Version
5.8 and later
Parameters
connectionInstanceConnection instance returned from SSL_acceptConnection() or SSL_connect().
Returns
OK (0) if successful; otherwise a negative number error code definition from merrors.h. To retrieve a string containing an English text error identifier corresponding to the function's returned error status, use the DISPLAY_ERROR macro.

ssl.h

◆ funcPtrKeyUpdateRequest

sbyte4(* sslSettings::funcPtrKeyUpdateRequest) (sbyte4 connectionInstance)

This callback indicates that the timer or bytes sent count has exceeded the maximum set count, and therefore it is time to update the application traffic secret.

Remarks
This callback function is applicable to synchronous clients and servers.
Since
5.8
Version
5.8 and later
Parameters
connectionInstanceConnection instance returned from SSL_acceptConnection() or SSL_connect().
Returns
OK (0) if successful; otherwise a negative number error code definition from merrors.h. To retrieve a string containing an English text error identifier corresponding to the function's returned error status, use the DISPLAY_ERROR macro.

ssl.h