openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_GetMaxCertList()

int32_t HITLS_CFG_GetMaxCertList ( const HITLS_Config config,
uint32_t *  maxSize 
)

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

参数
config[IN] TLS link configuration
maxSize[OUT] Maximum size of the certificate chain that can be sent by the peer end.
返回值
HITLS_NULL_INPUT,theinput parameter pointer is null.
HITLS_SUCCESS,ifsuccessful.