Set the cert store used by the TLS configuration.
- Attention
- 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.
- Parameters
-
| config | [OUT] TLS link configuration |
| store | [IN] Trust certificate store |
| isClone | [IN] Indicates whether deep copy is required. The options are true and false. |
- Return values
-
| HITLS_SUCCESS,if | successful. |
| For | other error codes, see hitls_error.h. |