openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetVerifyDepth()

int32_t HITLS_GetVerifyDepth ( const HITLS_Ctx ctx,
uint32_t *  depth 
)

Obtain the certificate verification depth.

参数
ctx[IN] TLS link object
depth[OUT] Certificate verification depth
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.