openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetVerifyStore()

int32_t HITLS_SetVerifyStore ( HITLS_Ctx ctx,
HITLS_CERT_Store store,
bool  isClone 
)

Set the verify store used by the TLS link for certificate verification.

参数
ctx[OUT] TLS link object
store[IN] CA certificate store
isClone[IN] Indicates whether deep copy is required. The options are true and false.
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.