openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetMaxCertList()

int32_t HITLS_SetMaxCertList ( HITLS_Ctx ctx,
uint32_t  maxSize 
)

Sets the maximum size of the certificate chain that can be sent from the peer end.

参数
ctx[IN/OUT] TLS connection handle.
maxSize[IN] Sets the 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.