openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetChainStore()

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

Set the chain store used by the TLS link to construct the certificate chain.

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