Add the private key of the device certificate by the ShangMi(SM) cipher suites. Only one private key can be added for each type of certificate.
- 参数
-
config | [OUT] TLS link configuration |
privateKey | [IN] Certificate private key |
isClone | [IN] Indicates whether deep copy is required. The options are as follows: true: yes; false: no. |
isTlcpEncCertPriKey | [IN] Indicates whether the private key of the encryption certificate is the private key of the encryption certificate. true: yes; false: no. |
- 返回值
-
HITLS_SUCCESS,if | successful. For details about other error codes, see hitls_error.h. |