Add a device certificate. Only one certificate of each type can be added.
- Parameters
-
config | [OUT] TLS link configuration |
cert | [IN] Device certificate |
isClone | [IN] Indicates whether deep copy is required. The options are as follows: true: yes; false: no. |
- Return values
-
HITLS_SUCCESS,if | successful. |
For | other error codes, see hitls_error.h. |