Set the supported key suites. The sequence of the key suites affects the priority of the selected key suites. The key suite with the highest priority is the first.
- Attention
- This setting will automatically filter out unsupported cipher suites.
- Parameters
-
config | [OUT] Config handle. |
cipherSuites | [IN] Key suite array, corresponding to the HITLS_CipherSuite enumerated value. |
cipherSuitesSize | [IN] Key suite array length. |
- Return values
-
HITLS_SUCCESS,if | successful. For details about other error codes, see hitls_error.h. |