openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_GetCipherVersion()

int32_t HITLS_CFG_GetCipherVersion ( const HITLS_Cipher cipher,
int32_t *  version 
)

Obtain the earliest TLS version supported by the cipher suite based on the cipher suite.

参数
cipher[IN] Cipher suite
version[OUT] Obtain the earliest TLS version supported by the cipher suite.
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.