openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetVerifyResult()

int32_t HITLS_GetVerifyResult ( const HITLS_Ctx ctx,
HITLS_ERROR verifyResult 
)

Return the peer certificate verification result of the current context.

参数
ctx[IN] TLS connection handle
verifyResult[OUT] Peer certificate verification result
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.