Set the signature algorithms supported during negotiation. The signature algorithms supported by the HiTLS can be queried in the HITLS_SignHashAlgo file.
- 注意
- If an unsupported signature algorithm is set, an error will be reported during configuration check.
- 参数
-
config | [OUT] Config context |
signAlgs | [IN] Signature algorithm array, that is, the enumerated value of HITLS_SignHashAlgo. |
signAlgsSize | [IN] Signature algorithm array length |
- 返回值
-
HITLS_SUCCESS,if | successful. For details about other error codes, see hitls_error.h. |