openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetClientVerifySupport()

int32_t HITLS_CFG_SetClientVerifySupport ( HITLS_Config config,
bool  support 
)

Sets whether to verify the client certificate. Client: This setting has no impact Server: The certificate request will be sent.

参数
config[OUT] Config handle
support[IN] Indicates whether the client certificate can be verified.True: yes; False: no.
返回值
HITLS_SUCCESS,ifsuccessful.
HITLS_NULL_INPUT,Theconfig parameter is empty.
注意
The settings on the client are invalid. Only the settings on the server take effect. If this parameter is not set, single-ended verification is used by default.