Set the cert store used by the TLS link.
- 注意
- If verify store is not set, use cert store to verify the certificate. If chain store is not set, use cert store to construct a certificate chain.
- 参数
-
ctx | [OUT] TLS link object |
store | [IN] Trust certificate store |
isClone | [IN] Indicates whether deep copy is required. The options are true and false. |
- 返回值
-
HITLS_SUCCESS,if | successful. |
For | other error codes, see hitls_error.h. |