openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_GetCipherServerPreference()

int32_t HITLS_CFG_GetCipherServerPreference ( const HITLS_Config config,
bool *  isSupport 
)

Obtains whether the current cipher suite supports preferential selection from the list of algorithms supported by the server.

Parameters
config[IN] TLS link configuration
isSupport[OUT] Support or not
Return values
HITLS_NULL_INPUT,theinput parameter pointer is null.
HITLS_SUCCESS,ifsuccessful.