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