openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetCurrentCipher()

const HITLS_Cipher * HITLS_GetCurrentCipher ( const HITLS_Ctx ctx)

Obtain the negotiated cipher suite pointer.

参数
ctx[IN] TLS connection handle
返回值
Pointerto the negotiated cipher suite. NULL, the input parameter pointer is null.