openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetMaxCertList()

int32_t HITLS_GetMaxCertList ( const HITLS_Ctx ctx,
uint32_t *  maxSize 
)

Obtains the maximum size of the certificate chain that can be sent by the peer end.

参数
ctx[IN] TLS connection handle.
maxSize[OUT] Maximum size of the certificate chain that can be sent from the peer end.
返回值
HITLS_NULL_INPUT,theinput parameter pointer is NULL.
HITLS_SUCCESS,ifsuccessful.